If the form.password contains characters that the encryption seed will cause to result in a string that contains a space or plus-sign, you will have trouble with the CFMX_COMPAT mode. Suggest going with a different mode.
Cheers, Kris > I'm on CF7. > > Here's my code: > (in Application.cfc) > > <cfset request.seed = "wPznEZnrpWToMHNR8HcDQ=="> > <cfset request.algorithm = "CFMX_COMPAT"> > <cfset request.encoding = "UU"> > > (encrypt) > encrypt(FORM.password,request.seed,request.algorithm,request.encoding) > > (decrypt) > decrypt(FORM.password,request.seed,request.algorithm,request.encoding) > > This is my error: > There has been an error while trying to encrypt or decrypt your input > string: The input and output encodings are not same. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4