Function scicrypt_numbertheory::gen_coprime
source · [−]pub fn gen_coprime<R: SecureRng>(
other: &Integer,
rng: &mut GeneralRng<R>
) -> Integer
Expand description
Generates a uniformly random coprime $x$ to the other
integer $y$. This means that
$\gcd(x, y) = 1$.