Struct octavo_digest::tiger::Tiger2 [] [src]

pub struct Tiger2 {
    // some fields omitted
}

Tiger2 implementation

The only difference between original Tiger and Tiger2 is padding value which is 0b00000001 (0x01) for Tiger and 0b10000000 (0x80, the same that is used by MD-4/5 and SHA-1/2) for Tiger2.

For more details check module docs

Trait Implementations

impl Clone for Tiger2
[src]

fn clone(&self) -> Tiger2

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 Tiger2
[src]

fn default() -> Self

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

impl Digest for Tiger2
[src]

type OutputBits = U192

Output size in bits

type OutputBytes = U24

Output size in bytes

type BlockSize = U64

Block size in bytes

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

Update digest with data.

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

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