crypto-hashing
Easy interfaces for cryptographic hash functions
Last updated 11 years ago by midnightlightning .
Repository · Bugs · Original npm · Tarball · package.json
$ npm install crypto-hashing 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

5 Versions

  • 1.0.0                                ...           9 years ago
  • 0.3.1                                ...           11 years ago
  • 0.3.0                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE