Skip to content

JavaScript hashing libraries wrapped up into one module. Compatible with Node and the browser.

License

Notifications You must be signed in to change notification settings

cryptocoinjs/crypto-hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript hashing libraries wrapped up into one module. Compatible with Node and the browser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •