Trait cryptohash::CryptoHash [] [src]

pub trait CryptoHash where
    Self: 'static + Clone
{ type Digest: AsRef<[u8]> + Clone + PartialOrd + Ord + PartialEq + Eq + Display; type State: Write + State<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

Required Methods

Constructor for a new hash-state

Implementors