Calc HMAC-SHA1, HMAC-MD5.
<script src="lib/HMAC.js">
<script>
console.log( HMAC("MD5", "", "") ); // "74e6f7298a9c2d168935f58c001bad88"
</script>
importScripts("lib/HMAC.js");
console.log( HMAC("MD5", "", "") ); // "74e6f7298a9c2d168935f58c001bad88"
var HMAC = require("lib/HMAC.js");
console.log( HMAC("MD5", "", "") ); // "74e6f7298a9c2d168935f58c001bad88"