Trait cryptix_field::Modular
source · pub trait Modular<E> {
const P: E;
}
Expand description
Be careful when implementing this trait. The modular must be a prime, or all mathmatical assumptions in this crate will be broken.
Implement this trait to embed the modular into a type