php Programming Glossary: string_encrypt
Mcrypt js encryption value is different than that produced by PHP mcrypt / Mcrypt JS decrypt doesn't work for UTF-8 chars http://stackoverflow.com/questions/18786025/mcrypt-js-encryption-value-is-different-than-that-produced-by-php-mcrypt-mcryp as php key 'testtesttesttesttesttesttesttest' function string_encrypt string key crypted_text mcrypt_encrypt MCRYPT_RIJNDAEL_128.. message.' echo ' br ' echo 'Encyrpted Value '. enc_str string_encrypt test_str key echo ' br ' echo 'Decrypted Value '.string_decrypt.. this question The main issue appears to be that your string_encrypt and string_decrypt PHP functions don't have access to the key..
|