pub fn exp_by_squaring<T: One + Copy>(orig_x: T, nn: u64) -> T
Expand description

This reveals the exponent so it should not be called with secret values.