Secure Randomness in Go 1.22 - The Go Programming Language
The Go Blog
Computers aren’t random.
On the contrary, hardware designers work very hard to make sure computers run every program the same way every time.
So when a program does need random numbers, that requires extra effort.
Traditionally, computer scientists and programming languages
have distinguished between two different kinds of random numbers:
statistical and cryptographic randomness.
In Go, those are provided by math/rand
and crypto/rand, respectively.
This post is about how Go 1.22 brin...
Read more at go.dev