Struct noise_rust_crypto::Sha256 [] [src]

pub struct Sha256 { /* fields omitted */ }

Trait Implementations

impl Default for Sha256
[src]

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

impl Hash for Sha256
[src]

Type of a block.

Type of output.

Name of the hash function.

Update hash context with some input.

Get hash result.

Length of block.

Length of hash output, in number of bytes.

Reset state of hash context.

Calculate hash of some data.

Calculate HMAC-THIS-HASH, with some key and several messages.

Calculate HMAC-THIS-HASH, with some key and a message.

Calculate HKDF, as specified in the noise spec.