Struct blake2::Blake2b [] [src]

pub struct Blake2b { /* fields omitted */ }

Hash function context.

Methods

impl Blake2b
[src]

[src]

Creates a new hashing context with a key.

Trait Implementations

impl Clone for Blake2b
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Blake2b
[src]

[src]

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

impl BlockInput for Blake2b
[src]

impl Input for Blake2b
[src]

[src]

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

impl FixedOutput for Blake2b
[src]

[src]

Retrieve the digest result. This method consumes digest instance.

impl VariableOutput for Blake2b
[src]

[src]

Create new hasher instance with given output size. Will return Err(InvalidLength) in case if hasher can not work with the given output size. Will always return an error if output size equals to zero. Read more

[src]

Get output size of the hasher instance provided to the new method

[src]

Retrieve the digest result into provided buffer. Length of the buffer must be equal to output size provided to the new method, otherwise Err(InvalidLength) will be returned Read more

impl Mac for Blake2b
[src]

[src]

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

[src]

Process input data.

[src]

Obtain the result of a Mac computation as a MacResult.

[src]

Check if code is correct for the processed input

impl Debug for Blake2b

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Blake2b

impl Sync for Blake2b