User Guide

28 Chapter 2: Changes in ColdFusion MX 7
Support for strong encryption algorithms
Additional parameters were added to the
Encrypt and Decrypt functions after the
ColdFusion MX 7 manuals went sent to the printer. These changes make it possible to interact
with password-based encryption algorithms and other advanced encryption technologies.
The function signatures are now as follows:
Encrypt(string, key [ ,algorithm [ ,encoding [ ,IVorSalt [ ,iterations ] ] ] ])
Decrypt(string, key [ ,algorithm [ ,encoding [ ,IVorSalt [ ,iterations ] ] ] ])
For more information, see the TechNote at www.macromedia.com/go/cfmx7_encrypt.
OEM updates
ColdFusion MX 7 includes updated versions of the following:
Sun 1.4.2_05 JVM
Verity 5.5 Patch level 12
DataDirect Type 4 - 3.3 drivers build 48
SequelLink 5.4 ODBC with Unicode Support
MySQL 3.23.47
Jintegra upgraded from COM 2.1 to 2.2
Axis 1.2 RC2 plus fixes
Enhanced string and data encoding and decoding
Use the following new functions for encoding and decoding text and data:
BinaryEncode Converts binary data to a string in hexadecimal, UU, or base64 encoding.
BinaryDecode Converts a string containing data in hexadecimal, UU, or base64 binary
encoding to binary data.
CharsetEncode Converts a string in a specified character set to a binary object.
CharsetDecode Converts a binary object to a string using a specified character set.
Additionally, the
Encrypt and Decrypt functions have been enhanced. For more information,
see “Support for strong encryption algorithms” on page 28.
XML support enhancements
XML handling has been enhanced with the addition of several new functions, including decision
and information functions, the ability to create an XML document object, and validation
functions and attributes. Support has been added for validation against both XML schemas
and DTDs.