Documentation ¶
Overview ¶
Package registry provides a global registry for hasher implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogHasher ¶
func NewLogHasher(h trillian.HashStrategy) (hashers.LogHasher, error)
NewLogHasher returns a LogHasher.
func NewMapHasher ¶
func NewMapHasher(h trillian.HashStrategy) (hashers.MapHasher, error)
NewMapHasher returns a MapHasher.
func RegisterLogHasher ¶
func RegisterLogHasher(h trillian.HashStrategy, f hashers.LogHasher)
RegisterLogHasher registers a hasher for use.
func RegisterMapHasher ¶
func RegisterMapHasher(h trillian.HashStrategy, f hashers.MapHasher)
RegisterMapHasher registers a hasher for use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.