$ npm install crypto-hashing
In addition to functions from crypto-browserify/createHash:
var cryptoHash = require('crypto-hashing')
var buffer = new Buffer('Hello there!')
console.log(cryptoHash('hash256', buffer).toString('hex'))
// e365181d0a42d3f57906af24c80d4636158455d140734c85e80609fa7d100300
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE