Struct noise_sodiumoxide::Sha512 [] [src]

pub struct Sha512 { /* fields omitted */ }

Trait Implementations

impl Default for Sha512
[src]

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

impl Hash for Sha512
[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.