duschang27/crypto-js

Decryption requires Base64

Opened this issue · 0 comments

Passing a WordArray as the ciphertext CryptoJS.AES.decrypt() quietly fails 
(generally I get a 0-sigByte result, but sometimes I get negative-sigByte 
results). It is required to re-encode the WordArray as Base64 (which I presume 
decrypt() will then decode back to a WordArray).

Original issue reported on code.google.com by robnapier@gmail.com on 11 Jan 2014 at 3:08