func github.com/gotd/td/crypto.DefaultRand
12 uses
github.com/gotd/td/crypto (current package)
bind.go#L109: rand = DefaultRand()
rand_notjs.go#L12: func DefaultRand() io.Reader {
github.com/gotd/td/exchange
flow.go#L85: rand: crypto.DefaultRand(),
github.com/gotd/td/mtproto
options.go#L124: opt.Random = crypto.DefaultRand()
github.com/gotd/td/proto/codec
padded_intermediate.go#L64: if err := writePaddedIntermediate(crypto.DefaultRand(), w, b); err != nil {
github.com/gotd/td/telegram
builder.go#L161: auth.Test(crypto.DefaultRand(), opts.DC),
options.go#L155: opt.Random = crypto.DefaultRand()
github.com/gotd/td/telegram/auth
password.go#L24: s := srp.NewSRP(crypto.DefaultRand())
password.go#L52: s := srp.NewSRP(crypto.DefaultRand())
github.com/gotd/td/telegram/dcs
mtproxy.go#L105: m.Rand = crypto.DefaultRand()
plain.go#L240: m.Rand = crypto.DefaultRand()
websocket.go#L86: m.Rand = crypto.DefaultRand()
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |