Generate3DesKey

Description

The Generate3DesKey function generates a key for the Triple Data Encryption Standard (3DES) algorithm.

History

ColdFusion 11: Added this function

Returns

Generated key as per 3DES encryption algorithm.

Syntax

Generate3DesKey(seed)

Parameters

  • seed: The string used as seed to generate the key.

Example

<cfscript>
        my3DesKey = generate3DesKey("12345abc123")
        writeOutput(my3DesKey)
</cfscript>

Output

MTIzNDVhYmMxMjM=

Get help faster and easier

New user?