GenerateSecretKey()
Gets a secure key value for use in the encrypt function.
GenerateSecretKey( algorithm=string, keySize=number );
Returns: String
Argument | Description |
---|---|
string, required |
The encryption algorithm for which to generate the key. |
number, optional |
Number of bits requested in the key for the specified algorithm. |
Examples
See also
- Cryptography
- Encrypt()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)