Struct blake2_rfc::blake2b::Blake2b
[−]
[src]
pub struct Blake2b { // some fields omitted }
State context.
Methods
impl Blake2b
fn new(nn: usize) -> Self
Creates a new hashing context without a key.
fn with_key(nn: usize, k: &[u8]) -> Self
Creates a new hashing context with a key.
fn update(&mut self, data: &[u8])
Updates the hashing context with more data.
fn finalize(self) -> Blake2bResult
Consumes the hashing context and returns the resulting hash.