Struct pruefung::unix::Unix
[−]
[src]
pub struct Unix { /* fields omitted */ }
The UNIX hasher.
Trait Implementations
impl Copy for Unix
[src]
impl Clone for Unix
[src]
fn clone(&self) -> Unix
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Unix
[src]
impl Hasher for Unix
[src]
fn write(&mut self, input: &[u8])
[src]
Writes some data into this Hasher
. Read more
fn finish(&self) -> u64
[src]
Returns the hash value for the values written so far. Read more
fn write_u8(&mut self, i: u8)
1.3.0[src]
Writes a single u8
into this hasher.
fn write_u16(&mut self, i: u16)
1.3.0[src]
Writes a single u16
into this hasher.
fn write_u32(&mut self, i: u32)
1.3.0[src]
Writes a single u32
into this hasher.
fn write_u64(&mut self, i: u64)
1.3.0[src]
Writes a single u64
into this hasher.
fn write_u128(&mut self, i: u128)
[src]
i128
)Writes a single u128
into this hasher.
fn write_usize(&mut self, i: usize)
1.3.0[src]
Writes a single usize
into this hasher.
fn write_i8(&mut self, i: i8)
1.3.0[src]
Writes a single i8
into this hasher.
fn write_i16(&mut self, i: i16)
1.3.0[src]
Writes a single i16
into this hasher.
fn write_i32(&mut self, i: i32)
1.3.0[src]
Writes a single i32
into this hasher.
fn write_i64(&mut self, i: i64)
1.3.0[src]
Writes a single i64
into this hasher.
fn write_i128(&mut self, i: i128)
[src]
i128
)Writes a single i128
into this hasher.
fn write_isize(&mut self, i: isize)
1.3.0[src]
Writes a single isize
into this hasher.
impl BlockInput for Unix
[src]
type BlockSize = U1024
impl Input for Unix
[src]
fn process(&mut self, input: &[u8])
[src]
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
impl FixedOutput for Unix
[src]
type OutputSize = U4
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
[src]
Retrieve the digest result. This method consumes digest instance.