math/big.Int.ProbablyPrime (method)
5 uses
math/big (current package)
prime.go#L26: func (x *Int) ProbablyPrime(n int) bool {
crypto/dsa
dsa.go#L108: if !q.ProbablyPrime(numMRTests) {
dsa.go#L128: if !p.ProbablyPrime(numMRTests) {
crypto/rand
util.go#L55: if p.ProbablyPrime(20) {
github.com/gotd/td/internal/crypto
prime.go#L15: return p.ProbablyPrime(probabilityN)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |