package
0.4.0
Repository: https://github.com/srerickson/ocfl-go.git
Documentation: pkg.go.dev

# Functions

DefaultRegistry returns a Register built-in digest algorithms: sha512, sha256, sha1, md5, and blake2b.
NewAlgorithmRegistry returns a Registry for the given extension algs.
NewMultiDigester constructs a MultiDigester for one or more built-in digest algorithms.

# Constants

built-in Alg for blake2b-512.
No description provided by the author
No description provided by the author
No description provided by the author
built-in Alg for md5.
built-in Alg for sha1.
built-in Alg for sha256.
built-in Alg for sha512.
No description provided by the author
No description provided by the author

# Variables

ErrMissing: missing an expected digest algorithm.
ErrUnknown: a digest algorithm was not recognize.

# Structs

AlgorithmRegistry is an immutable collection of Algorithm indexed by ID.
DigestError is returned when content's conflicts with an expected value.
MultiDigester is used to generate digests for multiple algorithms at the same time.

# Interfaces

Algorithm is implemented by digest algorithms.
Digester is an interface used for generating values.

# Type aliases

Set is a map of alg id to digest values.