package
0.38.1
Repository: https://github.com/aperturerobotics/bifrost.git
Documentation: pkg.go.dev

# Functions

NewHash constructs a new hash object.
Sum constructs a hash type by summing an object.
UnmarshalHashJSON unmarshals a hash from json.

# Constants

HashType_BLAKE3 is the blake3 hash type.
HashType_SHA1 is the sha1 hash type.
HashType_SHA256 is the sha256 hash type.
HashType_UNKNOWN is an unknown hash type.
RecommendedHashType is the hash type recommended to use.

# Variables

ErrHashMismatch is returned when hashes mismatch.
ErrHashTypeUnknown is returned when the hash type is unknown.
Enum value maps for HashType.
Enum value maps for HashType.
SupportedHashTypes is the list of built-in hash types.

# Structs

Hash is a hash of a binary blob.

# Type aliases

HashType identifies the hash type in use.