The @multiformats/sha3 package exports sha3*, shake* and keccak* MultihashHashers. The Multicodecs table defines these multihashes.
@multiformats/sha3
sha3*
shake*
keccak*
MultihashHasher
The following MultihashHashers are exported:
sha3224
sha3256
sha3384
sha3512
shake128
shake256
keccak224
keccak256
keccak384
keccak512
e.g. he sha3-384, multicodec code 0x15, may be imported as:
sha3-384
0x15
import { sha3384 } from '@multiformats/sha3' Copy
import { sha3384 } from '@multiformats/sha3'
The
@multiformats/sha3package exportssha3*,shake*andkeccak*MultihashHashers. The Multicodecs table defines these multihashes.The following
MultihashHashers are exported:sha3224- SHA3-224sha3256- SHA3-256sha3384- SHA3-384sha3512- SHA3-512shake128- SHAKE-128 (256 output bits)shake256- SHAKE-256 (512 output bits)keccak224- KECCAK-224keccak256- KECCAK-256keccak384- KECCAK-384keccak512- KECCAK-512e.g. he
sha3-384, multicodec code0x15, may be imported as: