Lucee Function Reference
generatersakeys()
Generates a secure keys (private and public) for use in the encrypt function with the RSA algorithm.
Example
generatersakeys([number key_size]):struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| key_size | number | No | 1024 | Number of bits to use for the generated Keys. |