JSPM

  • Created
  • Published
  • Downloads 7946
  • Score
    100M100P100Q133883F
  • License (Apache-2.0 AND MIT)

Multiformats hash functions for SHA3

Package Exports

  • @multiformats/sha3

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 (@multiformats/sha3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

js-sha3

Multiformats hash functions for SHA3.

const { multihash } = require('multiformats')()
const sha3 = require('multiformats/sha3')
multihash.add(sha3)

const data = new Uint8Array([...someData])
const hashed = await multihash.hash(data, 'sha3-384')