Struct crypto::sha2::Sha512Trunc224 [-] [+] [src]

pub struct Sha512Trunc224 {
    // some fields omitted
}

The SHA-512 hash algorithm with the SHA-512/224 initial hash value. The result is truncated to 224 bits.

Methods

impl Sha512Trunc224

fn new() -> Sha512Trunc224

Construct an new instance of a SHA-512/224 digest.

Trait Implementations

impl Digest for Sha512Trunc224

fn input(&mut self, d: &[u8])

fn result(&mut self, out: &mut [u8])

fn reset(&mut self)

fn output_bits(&self) -> usize

fn block_size(&self) -> usize

fn output_bytes(&self) -> usize

fn input_str(&mut self, input: &str)

fn result_str(&mut self) -> String