cryptocoin-ripemd160

Compute RIPEMD160 of bytes or strings.

Usage no npm install needed!

<script type="module">
  import cryptocoinRipemd160 from 'https://cdn.skypack.dev/cryptocoin-ripemd160';
</script>

README

ripemd160

JavaScript component to compute the RIPEMD160 hash of strings or bytes.

AMD/CommonJS compatible.

Install

Node.js/Browserify

npm install --save cryptocoin-ripemd160

Component

component install cryptocoinjs/ripemd160

Bower

bower install cryptocoin-ripemd160

Script

<script src="/path/to/ripemd160.js"></script>

Usage

ripemd160(input)

input either an array of bytes or a string

ripemd160("hello") //"108f07b8382412612c048d07d13f814118445acd"

Credits

Most of the code from CryptoJS https://code.google.com/p/crypto-js/

License

(MIT License)

Copyright 2013, JP Richardson jprichardson@gmail.com