crypto-hash-keccak
v0.0.1
Published
A pure JavaScript implementation of the Keccak hash algorithm.
Downloads
3
Readme
Keccak.js
This repository is a pure JavaScript implementation of the Keccak (SHA3) algorithm.
Installing
Via npm:
$ npm install crypto-hash-keccak
Via yarn:
$ yarn add crypto-hash-keccak
Usage
const Keccak = require('crypto-hash-keccak');
const hash = new Keccak(256);
hash.update('Hello, world!');
hash.digest('hex');
// "b6e16d27ac5ab427a7f68900ac5559ce272dc6c37c82b3e052246c82244c50e4"
Disclaimer
The Keccak sponge function was designed by:
- Guido Bertoni
- Joan Daemen
- Michaël Peeters
- Gilles Van Assche
For more information, feedback or questions, please refer to the official website.