Struct sha2::Sha512Trunc256[][src]

pub struct Sha512Trunc256 { /* fields omitted */ }

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

Trait Implementations

impl Clone for Sha512Trunc256

Important traits for Sha512Trunc256

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Sha512Trunc256

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

impl BlockInput for Sha512Trunc256

impl Input for Sha512Trunc256

Digest input data. Read more

Digest input data in a chained manner.

impl FixedOutput for Sha512Trunc256

Retrieve result and consume hasher instance.

impl Reset for Sha512Trunc256

Reset hasher instance to its initial state and return current state.

impl Debug for Sha512Trunc256

Formats the value using the given formatter. Read more

impl Write for Sha512Trunc256

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Important traits for &'a mut I

Creates a "by reference" adaptor for this instance of Write. Read more

Auto Trait Implementations