An open API service indexing awesome lists of open source software.

https://github.com/anzerr/blake2b

Blake2B in Javascript
https://github.com/anzerr/blake2b

blake2b hash nodejs util

Last synced: 9 months ago
JSON representation

Blake2B in Javascript

Awesome Lists containing this project

README

          

### `Intro`
![GitHub Actions status | publish](https://github.com/anzerr/blake2b/workflows/publish/badge.svg)

Blake2B in Javascript (cleaned up version)

#### `Install`
``` bash
npm install --save git+https://github.com/anzerr/blake2b.git
npm install --save @anzerr/blake2b
```

#### `Example`
```javascript
const blake = require('blake2b');

let context = blake.createHash({digestLength: 8});
context.update('cat');
context.update('dog');
console.log(context.digest().toString('hex')); // 3346a0d3f9b3a626
```