[][src]Struct monocypher::hashing::blake2b::Context

pub struct Context(_);

Methods

impl Context
[src]

Context based hashing for e.g. large inputs.

Example

use monocypher::hashing::blake2b::Context;

let mut ctx = Context::new("tohash".as_bytes());
ctx.update("moretohash".as_bytes());
let hash = ctx.finalize();

Initializes a new context with the given key.

Updates the context with the given data.

Finalizes the hash and returns it.

Auto Trait Implementations

impl Send for Context

impl Sync for Context

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]