crypto-hashing

1.0.0 • Public • Published

crypto-hashing

NPM Package Build Status Dependency status

js-standard-style

Available functions:

In addition to functions from crypto-browserify/createHash:

  • hash160 (sha256 and then ripemd160)
  • hash256 (sha256 twice)
Example
var cryptoHash = require('crypto-hashing')
var buffer = new Buffer('Hello there!')
console.log(cryptoHash('hash256', buffer).toString('hex'))
// e365181d0a42d3f57906af24c80d4636158455d140734c85e80609fa7d100300

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    267
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    267
  • 0.3.1
    40
  • 0.3.0
    2
  • 0.2.0
    2
  • 0.1.0
    9

Package Sidebar

Install

npm i crypto-hashing

Weekly Downloads

320

Version

1.0.0

License

MIT

Last publish

Collaborators

  • midnightlightning
  • sidazhang
  • nadav
  • jprichardson