Method Nettle.DH_Params()->generate()


Method generate

void generate(int p_bits, int q_bits, function(int(0..):string(8bit)) rnd)

Description

Generate a new set of Diffie-Hellman parameters.

Note

Throws errors for unsupported parameters.

Note

This function is not available in all installations of Pike.