Strong Encryption Technote shows undocumented features

February 22, 2005

Macromedia has just released a technote entitled: Strong Encryption in ColdFusion MX 7. It has lots of information useful to anyone planning to work with these features. In addition I noticed mention of two undocumented arguments in the Encrypt() and Decrypt() functions. There are also two undocumented encryption types.

The two encryption types are PBEWithMD5AndDES, and PBEWithMD5AndTripleDES - both password based encryption algorithms. Password based algorithms use a MD5 hash to change your password into an encryption key.

The two new arguments are IVorSalt, and iterations. The IVorSalt argument is for passing either an Initialization Vector (for block based encryptions AES, DES, Blowfish), or for passing a binary salt value for password based encryption (PBE) algorithms. The iterations argument is only for PBE algorithms, and is the number of iterations to transform the password into a binary key.

The technote also shows you how to create encryption keys manually, use different feedback, or padding modes, how to install unlimited strength encryption policy files, and also how to install other security providers.

So if your going to be using Strong Encryption in CFMX 7, you should check out the technote.

Related Entries

3 people found this page useful, what do you think?


Hey, that post leaves me feeilng foolish. Kudos to you!

Recent Entries


did you hack my cf?