UNPKG

974 BMarkdownView Raw
1# ripemd160
2
3[![NPM Package](https://img.shields.io/npm/v/ripemd160.svg?style=flat-square)](https://www.npmjs.org/package/ripemd160)
4[![Build Status](https://img.shields.io/travis/crypto-browserify/ripemd160.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/ripemd160)
5[![Dependency status](https://img.shields.io/david/crypto-browserify/ripemd160.svg?style=flat-square)](https://david-dm.org/crypto-browserify/ripemd160#info=dependencies)
6
7[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
8
9Node style `ripemd160` on pure JavaScript.
10
11## Example
12
13```js
14var RIPEMD160 = require('ripemd160')
15
16console.log(new RIPEMD160().update('42').digest('hex'))
17// => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8
18
19var ripemd160stream = new RIPEMD160()
20ripemd160stream.end('42')
21console.log(ripemd160stream.read().toString('hex'))
22// => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8
23```
24
25## LICENSE
26
27MIT