Keeping Text Hidden From Prying Eyes

Some text should never be transmitted or saved in readable form (or “in the clear”). To safely pass strings in hidden form fields, URL parameters, and cookies, use the CFML Encrypt() and Decrypt() functions. Each of these takes a string to be encrypted or decrypted, and another string that is used as the encryption key. Just make sure to use the same key to encrypt and decrypt data. (Applies to: ColdFusion 4.5 (or later))

Leave a Reply