Whatever message this page gives is out now! Go check it out!

Generate3DesKey

Last update:
May 18, 2026

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=

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page