whirlpool-hash
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

Whirlpool hash for JavaScript/TypeScript

Calculates WHIRLPOOL (WHIRLPOOL-0, WHIRLPOOL-T) hash

LICENSE MIT

Examples

Install:

npm i whirlpool-hash

Using on JavaScript(ES6)/TypeScript:

import {Whirlpool,encoders}  from 'whirlpool-hash'
 
let whirlpool = new Whirlpool()
let hash=whirlpool.getHash("message")
encoders.toBase64(hash)
encoders.fromBase64('bWVzc2FnZQ==')
encoders.toHex('message')

Package Sidebar

Install

npm i whirlpool-hash

Weekly Downloads

9

Version

1.1.6

License

MIT

Unpacked Size

29.1 kB

Total Files

8

Last publish

Collaborators

  • dadagov125