1.0.0 • Published 9 years ago

hmacsha1 v1.0.0

Weekly downloads
33,211
License
BSD
Repository
github
Last release
9 years ago

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