Struct octavo_digest::sha2::Sha512 [] [src]

pub struct Sha512 {
    // some fields omitted
}

SHA-512 implementation

For more details check module docs

Trait Implementations

impl Clone for Sha512
[src]

fn clone(&self) -> Sha512

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 Default for Sha512
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl Digest for Sha512
[src]

type OutputBits = U512

Output size in bits

type OutputBytes = U512::Output

Output size in bytes

type BlockSize = U128

Block size in bytes

fn update<T: AsRef<[u8]>>(&mut self, data: T)

Update digest with data.

fn result<T: AsMut<[u8]>>(self, out: T)

Write resulting hash into output. Read more

fn output_bits() -> usize

Output size in bits

fn output_bytes() -> usize

Output size in bytes

fn block_size() -> usize

Block size in bytes