Skip to main content

CTurboShake256

Type Alias CTurboShake256 

Source
pub type CTurboShake256<const DS: u8> = TurboShake<136, DS>;
Expand description

TurboSHAKE256 hasher with a custom domain separator.

Domain separator DS MUST be in the range 0x01..=0x7f.

Aliased Type§

pub struct CTurboShake256<const DS: u8> { /* private fields */ }

Trait Implementations§

Source§

impl<const DS: u8> CollisionResistance for CTurboShake256<DS>

Source§

type CollisionResistance = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

Collision resistance in bytes. Read more