Struct sha1::Sha1
[−]
[src]
pub struct Sha1 { /* fields omitted */ }
Represents a Sha1 hash object in memory.
Methods
impl Sha1
[src]
fn new() -> Sha1
Creates an fresh sha1 hash object.
fn reset(&mut self)
Resets the hash object to it's initial state.
fn update(&mut self, data: &[u8])
Update hash with input data.
fn digest(&self) -> Digest
Retrieve digest result.
Trait Implementations
impl Clone for Sha1
[src]
fn clone(&self) -> Sha1
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more