JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5160
  • Score
    100M100P100Q130506F
  • License MIT

Browser-friendly ripemd160 hasher

Package Exports

  • @rvagg/ripemd160
  • @rvagg/ripemd160/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rvagg/ripemd160) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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:

  • 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

MIT

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