GenerateSecretKey

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

Returns: string

Usage

GenerateSecretKey( algorithm [, keySize ] )

Arguments

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.