Skip to main content

crypto_xof_shake256_init_with_domain

Function crypto_xof_shake256_init_with_domain 

Source
pub fn crypto_xof_shake256_init_with_domain(
    domain: u8,
) -> Result<Shake256State, Error>
Expand description

Initializes SHAKE256 with a custom domain byte.

ยงErrors

Returns Error::InvalidValue unless domain is in 0x01..=0x7f.