RSA.generate(size) => RSA instance
RSA.generate(size, exponent) => RSA instance
RSA.generate(size, exponent) => RSA instance
Class Public methods
Generates an RSA keypair. size
is an
integer representing the desired key size. Keys smaller than 1024 should
be considered insecure. exponent
is an odd number normally 3,
17, or 65537.
Please login to continue.