franklin_crypto::rescue

Trait SBox

Source
pub trait SBox<E: Engine>:
    Sized
    + Clone
    + Debug {
    // Required method
    fn apply(&self, elements: &mut [E::Fr]);
}

Required Methods§

Source

fn apply(&self, elements: &mut [E::Fr])

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.

Implementors§

Source§

impl<E: Engine> SBox<E> for CubicSBox<E>

Source§

impl<E: Engine> SBox<E> for InversionSBox<E>

Source§

impl<E: Engine> SBox<E> for PowerSBox<E>

Source§

impl<E: Engine> SBox<E> for QuinticSBox<E>