nitinsaluja69 / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

Decryption requires Base64 #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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