JavaScript component to compute the RIPEMD160 hash of strings or bytes.
JavaScript
Latest commit 0cd03c4 Apr 28, 2017 @dcousens dcousens committed on GitHub Merge pull request #14 from crypto-browserify/feature/optimization
code optimization (30%)

README.md

ripemd160

NPM Package Build Status Dependency status

js-standard-style

Node style ripemd160 on pure JavaScript.

Example

var RIPEMD160 = require('ripemd160')

console.log(new RIPEMD160().update('42').digest('hex'))
// => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8

var ripemd160stream = new RIPEMD160()
ripemd160stream.end('42')
console.log(ripemd160stream.read().toString('hex'))
// => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8

LICENSE

MIT