node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

hmacsha1

hmacsha1

Simple HMAC-SHA1 for JavaScript. The code was extracted directly from Chromium examples for extensions.

NPM

npm install hmacsha1

Example

var hmacsha1 = require('hmacsha1');
var hash = hmacsha1(KEY, DATA);

Link

https://developer.chrome.com/extensions/tut_oauth

https://developer.chrome.com/extensions/examples/extensions/oauth_contacts/chrome_ex_oauthsimple.js