Check the contents AES.encrypt(secret, key)- this is an object with a number of fields, ivand of saltparticular interest ( jsFiddle ).
, AES.encrypt, -js IV (, ). IV , , , , .
(, ) , Base64 , IV ? , toString() ecnryption " OpenSSL ", Base64("Salted__" + salt + ciphertext), "Salted__" - , , , Base64.