An error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not same
I keep getting this error and I am not sure why:
An error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not same
I think it is because the password is being pulled from a database.
Here is my code:
<cfquery datasource="#datasource#" dbname="#dbname#" password="#password#" name="getpass">
SELECT email,pass,username
FROM members
WHERE email = '#email#'
</cfquery>
<cfoutput>
#decrypt("getpass.pass", "xxxxxxxxxxxxxxxxxxxx==", "AES", "Base64")#
</cfoutput>
Thanks!
