Struct blake2_rfc::blake2s::Blake2s [] [src]

pub struct Blake2s { /* fields omitted */ }

State context.

Methods

impl Blake2s
[src]

Creates a new hashing context without a key.

Creates a new hashing context with a key.

Updates the hashing context with more data.

Consumes the hashing context and returns the resulting hash.

Trait Implementations

impl Clone for Blake2s
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Blake2s
[src]

Formats the value using the given formatter.

impl Write for Blake2s
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more