The Go Blog Follow Secure Randomness in Go 1.22 ChaCha8Rand is a new cryptographically secure pseudorandom number generator used in Go 1.22. https://go.dev/blog/chacha8rand go.dev