Skip to main content

CTurboShake128

Type Alias CTurboShake128 

Source
pub type CTurboShake128<const DS: u8> = TurboShake<168, DS>;
Expand description

TurboSHAKE128 hasher with a custom domain separator.

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

Aliased Type§

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

Trait Implementations§

Source§

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

Source§

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

Collision resistance in bytes. Read more