Documentation ¶
Overview ¶
Package randutil provides utilities for cyrpto/rand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int ¶
func Int() int
Int is similar to math/rand.Int but uses crypto/rand.Reader under the hood.
func Int63 ¶
func Int63() int64
Int63 is similar to math/rand.Int63 but uses crypto/rand.Reader under the hood.
func Int63n ¶
Int63n is similar to math/rand.Int63n but uses crypto/rand.Reader under the hood.
func Intn ¶
Intn is similar to math/rand.Intn but uses crypto/rand.Reader under the hood.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.