method

generate

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: RSA
generate(p1, p2 = v2) public

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.

Show source
Register or log in to add new notes.