pub fn factorize(pq: u64) -> Option<(u64, u64)>Expand description
Factorize pq into two prime factors (p, q) where p ≤ q.
Returns None if pq isn’t a semiprime this routine can factor within
the fixed attempt budget (e.g. a malformed or adversarial value from a
server). Callers on a security-sensitive path (auth key exchange) must
treat that as a protocol error, not panic.