create-hash
Node style hashes for use in the browser, with native hash functions in node.
API is the same as hashes in node:
var createHash = var hash = hash // optional encoding parameterhash // synchronously get result with optional encoding parameter hashhash // remember it's a streamhash // only if you ended it as a stream though
To get the JavaScript version even in node do require('create-hash/browser')