Struct sha_1::Sha1
[−]
[src]
pub struct Sha1 { /* fields omitted */ }
Structure representing the state of a Sha1 computation
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
impl Default for Sha1
[src]
impl Input for Sha1
[src]
type BlockSize = U64
fn digest(&mut self, msg: &[u8])
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
impl FixedOutput for Sha1
[src]
type OutputSize = U20
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.