Function num_prime::nt_funcs::is_safe_prime

source ·
pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
where for<'r> &'r T: PrimalityRefBase<T>,
Expand description

Test if the target is a safe prime under Sophie German’s definition. It will use the strict primality test configuration.