Trait TryCustomizedInit

pub trait TryCustomizedInit: Sized

Trait for hash functions with customization string for domain separation which place restrictions on customization strings.

Associated Types

type Error;

Error returned for invalid customization strings.

Required Methods

fn try_new_customized(customization: &[u8]) -> Result<Self, Self::Error>

Create new hasher instance with the given customization string.

Errors

If the provided customization string is not valid for the hash function.

Implementors