Skip to content

proposal: math/rand: add InsecureRand  #59629

@BobDu

Description

@BobDu

#20661
now, we only deprecate math/rand.Read , in initial proposal suggest add a math/rand.InsecureRand

in many cases (like only create a random string in internal system for idempotent), we need math/rand.
So, we should give developers a choice.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions