Decrypt AES from Coldfusion to PHP
问题 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: The native methods offered by each language will vary in terms of expected arguments, parameters and encryptions methods.