Licence
BSD
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
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