Struct blake2::Blake2b [] [src]

pub struct Blake2b { /* fields omitted */ }

Hash function context.

Methods

impl Blake2b
[src]

Creates a new hashing context with a key.

Trait Implementations

impl Copy for Blake2b
[src]

impl Clone for Blake2b
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Blake2b
[src]

Formats the value using the given formatter.

impl Default for Blake2b
[src]

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

impl BlockInput for Blake2b
[src]

impl Input for Blake2b
[src]

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

impl FixedOutput for Blake2b
[src]

Retrieve the digest result. This method consumes digest instance.

impl VariableOutput for Blake2b
[src]

Retrieve the digest result into provided buffer. Length of the output equals to the input buffer size. In case of invalid length Err(InvalidLength) will be returned. This method consumes digest instance. Read more

impl Mac for Blake2b
[src]

Create new MAC instance. DO NOT USE low-entropy keys (e.g. passwords)! Read more

Process input data.

Obtain the result of a Mac computation as a MacResult.

Check if code is correct for the processed input