[−][src]Trait starling::traits::Hasher
The required interface for structs representing a hasher.
Associated Types
type HashType
The type of hasher.
Required methods
fn new(size: usize) -> Self::HashType
Creates a new HashType
.
fn update(&mut self, data: &[u8])
Adds data to be hashed.
fn finalize(self) -> ArrayType
Outputs the hash from updated data.
Implementations on Foreign Types
impl<ArrayType> Hasher<ArrayType> for DefaultHasher where
ArrayType: Array,
[src]
ArrayType: Array,