GenerateSecretKey

Gets a secure key value for use in the encrypt function.

GenerateSecretKey( algorithm [, keySize ] )

Returns: String

Argument Description
algorithm
string, required

The encryption algorithm for which to generate the key.

keySize
number, optional

Number of bits requested in the key for the specified algorithm.

Examples

There are currently no examples for this function.

See also