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

pub struct Sha384 {
    // some fields omitted
}

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

Methods

impl Sha384

fn new() -> Sha384

Construct an new instance of a SHA-384 digest.

Trait Implementations

impl Digest for Sha384

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