jkiss / crypto-js

提供多种加密算法,MD5 哈希的 JS版本 -- Automatically exported from code.google.com/p/crypto-js
15 stars 9 forks source link

Decryption requires Base64 #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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