Struct sha2::Sha512Trunc256
[−]
[src]
pub struct Sha512Trunc256 { /* fields omitted */ }
The SHA-512 hash algorithm with the SHA-512/256 initial hash value. The result is truncated to 256 bits.
Trait Implementations
impl Clone for Sha512Trunc256
[src]
fn clone(&self) -> Sha512Trunc256
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 Copy for Sha512Trunc256
[src]
impl Default for Sha512Trunc256
[src]
impl Input for Sha512Trunc256
[src]
type BlockSize = U128
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 Sha512Trunc256
[src]
type OutputSize = U32
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.