Blake2b (64-bit version) in pure Javascript with WASM upgrade
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Emil Bay bc47d75db8
Add test vectors
7 years ago
LICENSE Initial commit 7 years ago
README.md Add test vectors 7 years ago
example.js Initial commit 7 years ago
package.json Initial commit 7 years ago
test-vectors.json Add test vectors 7 years ago

README.md

blake2b

Blake2b (64-bit version) in pure Javascript

Usage

var blake2b = require('blake2b')

var output = new Uint8Array(64)
var input = Buffer.from('hello world')

blake2b(output, input)

API

blake2b(out, input, [key], [salt], [personal])

Install

npm install blake2b

Test vectors

This repository includes test vectors with {outlen, out, input, key, salt, personal} objects for testing conformance against the spec and other implementations:

License

ISC