package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Jun 21, 2022
License: BSD-2-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
package merkle provides hashing operations that can be used to verify a
Sigsum log's Merkle tree. The exact hash strategy is defined in RFC 6962.
VerifyConsistency verifies that a Merkle tree is consistent. The algorithm
used is in RFC 9162, §2.1.4.2. It is the same proof technique as RFC 6962.
VerifyInclusion verifies that something is in a Merkle tree. The algorithm
used is in RFC 9162, §2.1.3.2. It is the same proof technique as RFC 6962.
func HashInteriorNode(left, right Hash) *Hash
const (
PrefixLeafNode Prefix = iota
PrefixInteriorNode
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.