I am trying to encrypt in Javascript with CryptoJS and decrypt in PHP. The JS code is:
var salt = CryptoJS.lib.WordArray.random(128/8); var key256Bits500Ite
Your code WILL work if you just fix a few typos there
JS
PHP