Self note
decide random library to use math/rand or crypto/rand ???
Description
math/rand is much faster for applications that don’t need crypto-level or security-related random data generation. crypto/rand is suited for secure and crypto-ready usage, but it’s slower. It is highly recommended to use crypto/rand when needing to be secure with random numbers such as generating session ID in a web application. …
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/ii64/tanem/issue/GSC-G404/occurrences/