Skip to main content

pollard_rho

Function pollard_rho 

Source
pub fn pollard_rho(n: u64) -> u64
Expand description

A non-trivial factor of the odd composite n by Pollard’s rho with Brent’s cycle detection and batched gcds, iterating x ← x² + c for successive c.