gridiron::digits::util
pub fn exp_by_squaring<T: One + Copy>(orig_x: T, n: u32) -> T
This reveals the exponent so it should not be called with secret values.