Skip to content

(GSC-G404) Audit the random number generation source (rand) #5

@ii64

Description

@ii64

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions