Skip to main content

crypto_xof_shake128_init_with_domain

Function crypto_xof_shake128_init_with_domain 

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

Initializes SHAKE128 with a custom domain byte.

ยงErrors

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