Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hmacsha1 with all npm packages installed. Try it out:

var hmacsha1 = require("hmacsha1")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hmacsha1 v1.0.0

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

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free