mod_sqrt

Function mod_sqrt 

Source
pub fn mod_sqrt(
    x: &BigUint,
    modulus: &BigUint,
    non_qr: &BigUint,
) -> Option<BigUint>
Expand description

Find the square root of x modulo modulus with non_qr a quadratic nonresidue of the field.