pub fn find_generator(p: u64) -> u64Expand description
Find the smallest primitive root of prime p.
§Panics
Panics if no primitive root is found below p (impossible for actual primes — every prime has a primitive root by the theory of cyclic groups).