pub trait Mode: 'static {
const BLINDING: bool;
// Required methods
fn sample<F: Field>() -> F;
fn mask<G: Group>(value: G, base: &G, blind: &G::Scalar) -> G;
}Expand description
Determines whether protocol messages are blinded (ZK) or unblinded (transparent).
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.