registry

package
v1.3.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL