When to use crypto/rand and where to use math/rand?
In coding, randomness is not as random as you think. There are two distinct paths to generating randomness: math/rand and crypto/rand. Both have their merits, but they serve very different purposes.
math/rand
If math/rand were a person, it would be t...
dhawalpandya01.hashnode.dev2 min read