Module akd::hash

source ·
Expand description

This module contains all the hashing utilities needed for the AKD directory and verification operations

Modules

This module contains hashing utilities for blake3 hashing

Enums

An error occurred while hashing data

Constants

The number of bytes in a digest for Blake3 hashes
Represents an empty digest, with no data contained

Functions

Hash a single byte array
Merge N hashes into a single Digest
Takes the hash of a value and merges it with a u64, hashing the result.
Try and parse a digest from an unknown length of bytes. Helpful for converting a Vec to a Digest

Type Definitions

A hash digest of a specified number of bytes