public class TonelliShanks extends Object
| Constructor and Description |
|---|
TonelliShanks() |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
modSqrt(BigInteger n,
BigInteger p)
Computes the square root of n mod p if it exists, otherwise null is returned.
|
public static BigInteger modSqrt(BigInteger n, BigInteger p)
Copyright © 2019. All rights reserved.