Trait Sbox

Source
pub trait Sbox {
    const NAME: &'static str;
    const SBOX: [[u8; 16]; 8];
}
Expand description

Trait for GOST 28147-89 cipher S-boxes

Required Associated Constants§

Source

const NAME: &'static str

S-Box name

Source

const SBOX: [[u8; 16]; 8]

Unexpanded S-box

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§