func crypto/rand.Int
7 uses
crypto/rand (current package)
util.go#L106: func Int(rand io.Reader, max *big.Int) (n *big.Int, err error) {
crypto/rsa
rsa.go#L511: r, err = rand.Int(random, priv.N)
golang.org/x/crypto/openpgp/elgamal
elgamal.go#L57: k, err := rand.Int(random, pub.P)
golang.org/x/crypto/ssh
kex.go#L104: if x, err = rand.Int(randSource, group.pMinus1); err != nil {
kex.go#L166: if y, err = rand.Int(randSource, group.pMinus1); err != nil {
kex.go#L614: x, err := rand.Int(randSource, pHalf)
kex.go#L729: y, err := rand.Int(randSource, pHalf)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |