Add Hex formatter to CryptoJS.lib.Cipher
GoogleCodeExporter opened this issue · 4 comments
GoogleCodeExporter commented
I am using the AES cipher but I need a Hex string to my script.
I created a formatter for this, see the patch attached.
Original issue reported on code.google.com by kakao...@gmail.com
on 14 Dec 2012 at 11:11
Attachments:
GoogleCodeExporter commented
This can be used like:
var encodedData = CryptoJS.AES.encrypt(data, key, { iv: iv, format:
CryptoJS.format.Hex });
The encodedData returned is the Hex string of the encrypted data.
Original comment by kakao...@gmail.com
on 14 Dec 2012 at 11:12
GoogleCodeExporter commented
Thanks. This will likely make it into the next release.
Original comment by Jeff.Mott.OR
on 3 Jan 2013 at 7:58
- Changed state: Accepted
GoogleCodeExporter commented
Original comment by Jeff.Mott.OR
on 3 Jan 2013 at 7:58
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
GoogleCodeExporter commented
Hex formatter is included in latest release as a separate component.
Original comment by Jeff.Mott.OR
on 7 Jan 2013 at 1:45
- Changed state: Fixed