Trait bytehash::ByteHash[][src]

pub trait ByteHash: Write {
    type Digest: AsRef<[u8]> + AsMut<[u8]>;
    fn fin(self) -> Self::Digest;
}

A wrapper trait for cryptographic hash functions

Associated Types

The type that is used for the final hash value

Required Methods

Consumes the ByteHash and returns a Digest

Implementors