Struct sha2::Sha256[][src]

pub struct Sha256 { /* fields omitted */ }

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

Trait Implementations

impl Clone for Sha256
[src]

Important traits for Sha256

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Sha256
[src]

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

impl BlockInput for Sha256
[src]

impl Input for Sha256
[src]

Digest input data. Read more

Digest input data in a chained manner.

impl FixedOutput for Sha256
[src]

Retrieve result and consume hasher instance.

impl Reset for Sha256
[src]

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

impl Debug for Sha256

Formats the value using the given formatter. Read more

impl Write for Sha256

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

impl Send for Sha256

impl Sync for Sha256