Documentation
¶
Overview ¶
Package blake2b implements the BLAKE2b cryptographic hash function, with optimized variants for hashing Merkle tree inputs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SumLeaves ¶
SumLeaves computes the Merkle tree leaf hash of four leaves, storing the results in outs.
Types ¶
type Accumulator ¶ added in v0.1.12
An Accumulator is a generic Merkle tree accumulator.
func (*Accumulator) AddLeaf ¶ added in v0.1.12
func (acc *Accumulator) AddLeaf(h [32]byte)
AddLeaf incorporates a leaf into the accumulator.
func (*Accumulator) Root ¶ added in v0.1.12
func (acc *Accumulator) Root() [32]byte
Root returns the Merkle root of the accumulator's leaves.
Click to show internal directories.
Click to hide internal directories.