method
create_key
v2_6_3 -
Show latest stable
- Class:
Gem::Security
create_key(length = KEY_LENGTH, algorithm = KEY_ALGORITHM)public
Creates a new key pair of the specified length and algorithm. The default is a 3072 bit RSA key.
create_key(length = KEY_LENGTH, algorithm = KEY_ALGORITHM)Creates a new key pair of the specified length and algorithm. The default is a 3072 bit RSA key.