Implemented this example https://stackoverflow.com/questions/26623768/decrypting-aes-with-javascript-cryptojs-after-encrypting-with-php-mcrypt Works, but Russian characters are no longer displayed. Instead of "Example", we get "Example". Online decoders say this: CP1252-> CP1251 or ISO-8859-1 -> CP1251. Can not display Russian characters. The page itself is in windows-1251. some values are encoded in JSON. PHP:
*function encrypt($content) { $key = 'key_value'; $iv = 'iv_value'; $encrypted = base64_encode( mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $content, MCRYPT_MODE_CBC, $iv ) ); return $encrypted; }* For JS https://code.google.com/archive/p/js-mcrypt/
var Mdecrypt = function (data, key, iv) { return mcrypt.Decrypt(atob(data), iv, key, 'rijndael-128', 'cbc'); }; As a result, incomprehensible characters. Can you translate them into Russian?