digest-0.8.0 has been yanked.
This crate provides traits which describe funcionality of cryptographic hash functions.
Traits in this repository can be separatedin two levels:
- Low level traits:
Input,BlockInput,Reset,FixedOutput,VariableOutput,ExtendableOutput. These traits atomically describe available functionality of hash function implementations. - Convinience trait:
Digest,DynDigest. They are wrappers around low level traits for most common hash-function use-cases.
Additionally hash functions implement traits from std: Default, Clone,
Write. (the latter depends on enabled-by-default std crate feature)
The Digest trait is the most commonly used trait.