package randutil
import "go.mongodb.org/mongo-driver/internal/randutil"
Package randutil provides common random number utilities.
Index ¶
Functions ¶
func NewLockedRand ¶
NewLockedRand returns a new "x/exp/rand" pseudo-random number generator seeded with a cryptographically-secure random number. It is safe to use from multiple goroutines.
Source Files ¶
randutil.go
- Version
- v1.17.3 (latest)
- Published
- Feb 25, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 15 hours ago –
Tools for package owners.