GenerateSecretKey
Last updated
Last updated
Generates an encoded encryption key using the specified algorithm and key size
Argument | Type | Required | Description | Default |
---|---|---|---|---|
algorithm
string
false
The algorithm to use for generating the key. The default is AES. Example values are: AES, DES, DESede, Blowfish, HmacSHA1, HmacSHA256, HmacSHA384, HmacSHA512
AES
keySize
numeric
false
The optional size of the key to generate. If not provided the default key size for the algorithm will be used