Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Crypto.RSA.State()->set_encrypt_key()


Method set_encrypt_key

this_program set_encrypt_key(array(Gmp.mpz) key)

Description

Sets the public key to key and the mode to encryption.

See also

set_decrypt_key, crypt