I have to generate string representation of CryptoJS.HmacSHA256
in digest (bytes representation).
I need it because i have to duplicate python code which generate such digest in javascript:
print hmac.new("secret", "test", hashlib.sha256).digest()
')?kb??>?y+??????:?oΚ??H? '
The goal is to duplicate behaviour of code above in javascript.
Could you please suggest me how to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…