In the beginning, a unicode string containing the phrase: “string coming from the client…” encrypted with AES256 CBC and then passed from Base64 encoding to become text. That text is put in the php file to decrypt it. I have the following code that does the job. The point is that no string is returned. Has it to do with the use of unicode?
$key and $iv are exactly tha same used for encryption. $str stores the pre-encoded pre-encrypted text.
PHP Code:
` <!doctype html>
str = " . $str; echo "
new = " . $newStr; ?> `