Struct sha2::Sha256 [] [src]

pub struct Sha256 { /* fields omitted */ }

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

Methods

impl Sha256
[src]

Trait Implementations

impl Clone for Sha256
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Sha256
[src]

impl Default for Sha256
[src]

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

impl Digest for Sha256
[src]

Digest input data. This method can be called repeatedly for use with streaming messages. Read more

Retrieve the digest result. This method consumes digest instance.

Get the block size in bytes.

Get the block size in bits.

Get the output size in bytes.

Get the output size in bits.