Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alecthomas
37 days ago
|
parent
|
context
|
favorite
| on:
Secure Randomness in Go 1.22
For those unaware, gosec (and by extension golangci-lint) will warn about uses of `math/rand`
https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5...
onionisafruit
37 days ago
[–]
One of my favorite things about math/rand/v2 is that I can use it at work without a nolint directive and the subsequent pr discussions.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/securego/gosec/blob/d3b2359ae29fe344f4df5...