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>; fn state() -> Self::State; }
A wrapper trait for cryptographic hash functions
Associated Types
type Digest: AsRef<[u8]> + AsMut<[u8]> + Copy + Hash + Ord + Eq + Display + Debug
The output type of the hash function
type State: Write + State<Self::Digest>
The hash-state currently being computed