Closed GoogleCodeExporter closed 8 years ago
It's actually expected behavior that "encrypted" will always be an object. More
specifically, it will always be a CipherParams object. A CipherParams object
gives you access to all the parameters used during encryption -- key, IV, salt,
etc. When you use a CipherParams object in a string context, or if you
explicitly call toString(), then it's converted to a string using your chosen
format.
Original comment by Jeff.Mott.OR
on 11 Oct 2012 at 9:58
Thanks for your reply. I have to call toString() to get the json string. It's
my mistake. The function alert automatically call toString() but I used
console.log.
So this issue can be dismissed.
Original comment by kiss...@gmail.com
on 12 Oct 2012 at 2:21
Original comment by Jeff.Mott.OR
on 12 Oct 2012 at 4:15
Original issue reported on code.google.com by
kiss...@gmail.com
on 11 Oct 2012 at 8:56