Does this also work in node? Note that bitcore already has sha512 hmac - maybe we can use that instead of including another dependency?