Crate digest[−][src]
This crate provides traits for describing funcionality of cryptographic hash functions.
By default std functionality in this crate disabled. (e.g. method for
hashing Read
ers) To enable it turn on std
feature in your Cargo.toml
for this crate.
Re-exports
pub extern crate generic_array; |
Macros
impl_opaque_debug |
Macro for defining opaque |
Structs
InvalidBufferLength |
The error type for variable hasher result |
InvalidLength |
The error type for variable digest output |
InvalidOutputSize |
The error type for variable hasher initialization |
Traits
BlockInput |
Trait to indicate that digest function processes data in blocks of size
|
Digest |
The |
ExtendableOutput |
Trait which describes extendable output (XOF) of hash functions. Using this
trait you first need to get structure which implements |
FixedOutput |
Trait for returning digest result with the fixed size |
Input |
Trait for processing input data |
VariableOutput |
Trait for returning digest result with the varaible size |
XofReader |
Trait for decribing readers which are used to extract extendable output from the resulting state of hash function. |