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

pub struct Sha512 {
    // some fields omitted
}

The SHA-512 hash algorithm with the SHA-512 initial hash value.

Methods

impl Sha512

fn new() -> Sha512

Construct an new instance of a SHA-512 digest.

Trait Implementations

impl Digest for Sha512

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