Package detail

@rvagg/ripemd160

rvagg15.6kMIT2.2.4

Browser-friendly ripemd160 hasher

string, strings, ripemd160, ripe160

readme

@rvagg/ripemd160

Browser-safe ripemd160 for JavaScript.

This project is a fork of https://github.com/crypto-browserify/ripemd160 (and its parent, https://github.com/crypto-browserify/hash-base) but it:

  • Adds TypeScript types exports
  • Operates natively on Uint8Arrays
  • Has no dependencies, even in the browser (i.e. no Buffer)
  • Does not handle streaming operations (i.e. just use update() and digest())

Example

var RIPEMD160 = require('ripemd160')

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

License & Copyright

MIT

Copyright (c) 2016 crypto-browserify Copyright (c) 2022 Rod Vagg

changelog

2.2.4 (2023-01-06)

Trivial Changes

  • deps: bump actions/setup-node from 3.5.1 to 3.6.0 (#32) (a6b5c11)

2.2.3 (2023-01-02)

Trivial Changes

  • deps: bump actions/checkout from 3.1.0 to 3.2.0 (#28) (bd4ce8d)
  • no-release: bump @types/mocha from 9.1.1 to 10.0.0 (#21) (a1fe028)
  • no-release: bump actions/checkout from 3.0.2 to 3.1.0 (#22) (13df37f)
  • no-release: bump actions/setup-node from 3.1.1 to 3.2.0 (#16) (21d2890)
  • no-release: bump actions/setup-node from 3.2.0 to 3.3.0 (#17) (d198912)
  • no-release: bump actions/setup-node from 3.3.0 to 3.4.0 (#18) (9025b51)
  • no-release: bump actions/setup-node from 3.4.0 to 3.4.1 (#19) (9667ad6)
  • no-release: bump actions/setup-node from 3.4.1 to 3.5.0 (#20) (67ccbb9)
  • no-release: bump actions/setup-node from 3.5.0 to 3.5.1 (#24) (fdc5547)

2.2.2 (2022-05-03)

Trivial Changes

  • deps-dev: bump mocha from 9.2.2 to 10.0.0 (#14) (2baf969)
  • deps-dev: bump polendina from 2.0.15 to 3.0.0 (9b53e0f)

2.2.1 (2022-04-23)

Bug Fixes

  • remove "files" publish restriction (#13) (6847217)

2.2.0 (2022-04-23)

Features

Trivial Changes

  • no-release: bump actions/checkout from 2.4.0 to 3.0.2 (#11) (cc8235d)
  • no-release: bump actions/setup-node from 2.5.1 to 3.1.1 (#8) (01260c2)

2.1.1 (2022-02-15)

Trivial Changes

  • switch to mocha, use polendina for browser tests (6029a3d)

2.1.0 (2022-02-15)

Features

  • 0.0.0 - remove Buffer & dependencies (0ccc3a4)

Bug Fixes

  • no-release: exec tests with tape (6066daf)
  • src: fix package.json for release and description (1ea5c5e)

Trivial Changes

  • no-release: add auto-release (69d513d)
  • no-release: bump actions/checkout from 2.3.4 to 2.4.0 (#1) (58109e3)
  • no-release: bump actions/setup-node from 2.4.0 to 2.5.1 (#2) (05d10d9)

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