Why is gosec complaining about G404 Use of weak random number generator (math/rand instead of crypto/rand)?

前端 未结 0 1772
心在旅途
心在旅途 2021-02-05 08:07

I have this code in my hobby project:

import (
    "math/rand"
    "time"
)

func getRandomBool() b         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题