pub fn basic_to_montgomery<T>(a: T, modulus: T, r: T) -> Twhere
T: PartialOrd + Copy + Zero + One + BitAnd<Output = T> + WrappingAdd + WrappingSub + Shr<usize, Output = T> + Rem<Output = T>,Expand description
Convert to Montgomery form (Basic): a -> (a * R) mod N