Struct sha2::Sha224
[−]
[src]
pub struct Sha224 { /* fields omitted */ }
The SHA-256 hash algorithm with the SHA-224 initial hash value. The result is truncated to 224 bits.
Methods
impl Sha224
[src]
Trait Implementations
impl Clone for Sha224
[src]
fn clone(&self) -> Sha224
[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 Copy for Sha224
[src]
impl Default for Sha224
[src]
impl Digest for Sha224
[src]
type OutputSize = U28
type BlockSize = U64
fn input(&mut self, msg: &[u8])
[src]
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
fn result(self) -> GenericArray<u8, Self::OutputSize>
[src]
Retrieve the digest result. This method consumes digest instance.
fn block_bytes(&self) -> usize
[src]
Get the block size in bytes.
fn block_bits(&self) -> usize
[src]
Get the block size in bits.
fn output_bytes(&self) -> usize
[src]
Get the output size in bytes.
fn output_bits(&self) -> usize
[src]
Get the output size in bits.