johanns / crypto-js

Automatically exported from code.google.com/p/crypto-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decryption requires Base64

GoogleCodeExporter opened this issue · 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