Method Crypto.RSA.LowState()->generate_key()


Method generate_key

this_program generate_key(int(89..) bits, int(1..)|Gmp.mpz|void e)

Description

Generate a valid RSA key pair with the size bits using the random function set with set_random(). The public exponent e will be used, which defaults to 65537. Keys must be at least 89 bits.