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

pub struct Blake2s { /* fields omitted */ }

State context.

Methods

impl Blake2s
[src]

[src]

Creates a new hashing context without a key.

[src]

Creates a new hashing context with a key.

[src]

Updates the hashing context with more data.

[src]

Consumes the hashing context and returns the resulting hash.

Trait Implementations

impl Clone for Blake2s
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Blake2s
[src]

[src]

Formats the value using the given formatter.

impl Write for Blake2s
[src]

[src]

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

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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