I encrypted a string in ColdFusion using:
<cfset strEnc=ToBase64(Encrypt("some text","123", "AES","Base64"))>
I can decrypt the string in ColdFusion using:
<cfset strDec=ToString(Decrypt(ToBinary(strEnc), "123", "AES","Base64"))>
But I am unable to decrypt strEnc in PHP. I have found some decrypt functions in PHP. But they require an iv parameter. Can anyone help me?
1 Answer