package
Version:
v0.2.0-beta
Opens a new window with list of versions in this module.
Published: Apr 14, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package blake2b implements the BLAKE2b cryptographic hash function,
with optimized variants for hashing Merkle tree inputs.
SumLeaf computes the Merkle tree leaf hash of a single leaf.
func SumLeaves(outs *[4][32]byte, leaves *[4][64]byte)
SumLeaves computes the Merkle tree leaf hash of four leaves, storing the
results in outs.
func SumNodes(outs *[4][32]byte, nodes *[8][32]byte)
SumNodes computes the Merkle roots of four pairs of node hashes, storing the
results in outs.
func SumPair(left, right [32]byte) [32]byte
SumPair computes the Merkle root of a pair of node hashes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.