Trait cryptohash::CryptoHash [] [src]

pub trait CryptoHash where
    Self: 'static + Clone + Debug
{ type Digest: AsRef<[u8]> + AsMut<[u8]> + Copy + Hash + Ord + Eq + Display + Debug; type State: Write + State<Self::Digest>; const NULL: Self::Digest; fn state() -> Self::State; }

A wrapper trait for cryptographic hash functions

Associated Types

The output type of the hash function

The hash-state currently being computed

Associated Constants

All zero hash, used as Null/None

Required Methods

Constructor for a new hash-state

Implementors