Methods
reset
pub fn reset(self)
reset
pub fn reset(self)
block_size
pub fn block_size(self): int
block_size
pub fn block_size(self): int
output_size
pub fn output_size(self): int
output_size
pub fn output_size(self): int
new_keyed
pub fn new_keyed(key: Bytes): Blake3 throws Blake3Error
Creates a new Blake3 hasher that uses the 32 byte input key and has a digest size of 32 bytes.
new_keyed
pub fn new_keyed(key: Bytes): Blake3 throws Blake3Error
Creates a new Blake3 hasher that uses the 32 byte input key and has a digest size of 32 bytes.
Creates a new Blake3 hasher that uses the 32 byte input key and has a digest size of 32 bytes.
Example
nv
use std.crypto.blake3.Blake3;
use std.rand;
let hasher = try! Blake3.new_keyed(rand.bytes(32));
new_derive_key
pub fn new_derive_key(context: string): Blake3
Creates a new Blake3 hasher for the key derivation function.
new_derive_key
pub fn new_derive_key(context: string): Blake3
Creates a new Blake3 hasher for the key derivation function.
Creates a new Blake3 hasher for the key derivation function.