Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

VariableOutputCoreCustomized

Trait VariableOutputCoreCustomized 

Source
pub trait VariableOutputCoreCustomized: VariableOutputCore {
    // Required method
    fn new_customized(customization: &[u8], output_size: usize) -> Self;
}
Expand description

Trait adding customization string to hash functions with variable output.

Required Methods§

Source

fn new_customized(customization: &[u8], output_size: usize) -> Self

Create new hasher instance with the given customization string and output size.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§