1. hmac.digest(encoding = 'base64'); <--- https://github.com/joyent/node/issues/2106 2. //return the string to sign. return stringToSign =