JSPM

blake-hash

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 83436
  • Score
    100M100P100Q156850F
  • License MIT

SHA-3 proposal Blake

Package Exports

  • blake-hash
  • blake-hash/index.js
  • blake-hash/js.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blake-hash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

blake-hash

This module provides native bindings to Blake [pdf]. In browser pure JavaScript implementation will be used.

Usage

You can use this package as node Hash.

const createBlakeHash = require('blake-hash')

console.log(createBlakeHash('blake256').digest().toString('hex'))
// => 716f6e863f744b9ac22c97ec7b76ea5f5908bc5b2f67c61510bfc4751384ea7a

console.log(createBlakeHash('blake256').update('Hello world!').digest('hex'))
// => e0d8a3b73d07feca605c2376f5e54820cf8280af4a195d125ff5eadbf214adf3

LICENSE

This library is free and open-source software released under the MIT license.