RSA_PRIVATE()
Generates an RSA private key
VARBINARY
RSA_PRIVATE (key_length)
Parameter | Description |
---|---|
key_length |
Key length in bytes;minimum 4, maximum 1024.A size of 256 bytes (2048 bits) or larger is recommended. |
RSA_PRIVATE
generates an RSA private key of the specified length (in bytes) in PKCS#1 format.
Note
|
The larger the length specified, the longer it takes for the function to generate a private key. |