Following is my nodejs function for creating HMAC hash -
function hash() { key = "hello"; msg = "Hello"; var hmac = crypto.createH