Open GoogleCodeExporter opened 8 years ago
I found out it is indeed possible to have hex input. First you must convert the
input to hex using the helper functions. E.g.
// CryptoJS.HmacSHA512("Message", "Secret Passphrase");
var wordsKey = CryptoJS.enc.Hex.parse('001122334455');
var wordsMsg = CryptoJS.enc.Hex.parse('aabbccddeeff');
var hash = CryptoJS.HmacSHA512(wordsMsg, wordsKey);
var output = hash.toString(CryptoJS.enc.Hex);
See here:
https://stackoverflow.com/questions/22183337/are-there-any-javascript-cryptograp
hic-hmac-libraries-that-accepts-hex-input
This issue can now be closed. Thankyou!
Original comment by john.f.m...@gmail.com
on 10 Mar 2014 at 2:56
Original issue reported on code.google.com by
john.f.m...@gmail.com
on 28 Jan 2014 at 5:11