Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ripemd160

crypto-browserify59.3mMIT2.0.3TypeScript support: definitely-typed

Compute ripemd160 of bytes or strings.

string, strings, ripemd160, ripe160, bitcoin, bytes, cryptography

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v2.0.3 - 2025-09-22

Commits

  • [eslint] switch from standard to eslint ce1badd
  • [Tests] migrate from travis to GHA f0b036e
  • [meta] use auto-changelog 8f8b834
  • [meta] use npmignore 63eb742
  • [Tests] add coverage 52e4349
  • Only apps should have lockfiles bbbc504
  • [meta] add missing engines.node 0dd76a0
  • [Deps] update hash-base, inherits dcd9920
  • [meta] fix npmrc settings for auto-changelog 329f18c
  • [Dev Deps] update tape 8be8aba
  • [Dev Deps] add missing peer dep ac4ddb3

v2.0.2 - 2018-04-19

Merged

  • Don't use the deprecated Buffer() constructor #20
  • code optimization (30%) #14
  • Not a markdown file #18

Commits

  • Explicitly require 'buffer' 651ae24

2.0.1 / 2016-06-22

  • added LICENSE file.

2.0.0 / 2016-04-11

  • rewritten, license change BSD-3 to MIT. #13
  • stream support #13

1.0.1 / 2015-05-05

  • standard formatting

1.0.0 / 2015-01-14

0.2.1 / 2014-12-31

  • made license clear in package.json
  • deleted Makefile, moved targets to package.json
  • removed terst for assert

0.2.0 / 2014-03-09

  • removed bower.json and component.json
  • changed 4 spacing to 2
  • returns Buffer type now, input must be Array, Uint8Array, Buffer, or string
  • remove deps: convert-hex and convert-string

0.1.0 / 2013-11-20

  • changed package name
  • removed AMD support

0.0.2 / 2013-11-06

  • fixed component.json file

0.0.1 / 2013-11-03

  • initial release