Struct sha1::Sha1
[−]
[src]
pub struct Sha1 { /* fields omitted */ }
Represents a Sha1 hash object in memory.
Methods
impl Sha1
[src]
fn new() -> Sha1
[src]
Creates an fresh sha1 hash object.
fn reset(&mut self)
[src]
Resets the hash object to it's initial state.
fn update(&mut self, data: &[u8])
[src]
Update hash with input data.
fn digest(&self) -> Digest
[src]
Retrieve digest result.