> Yes, it's the TRIM. Thanks... I'm just so used to using trim > I never thought about it trimming spaces when they are part > of the encrypted value. But now I'll remember that.
Just a couple of other semi-OT notes... the default encryption algorithm (CFMX_COMPAT) is not very secure by anyone's standards, so I'd always suggest using a more secure algorithm, such as AES, when using encrypt() and decrypt() unless there is a good reason to stay with the default. You can also get around the trim issue by specifying a different value encoding format such as Hex or Base64 (the default is UUEncode which has been known to have quirks like this; the others are more friendly). -Just ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

