mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
As of Go 1.20, `math/rand.Read` is deprecated. In addition to that, it also isn't recommended for use in combination with anything cryptographic. I haven't replaced all `math/rand` with `crypto/rand` imports because there are still some legitimate uses for the `math/rand` package in some places. Signed-off-by: Neil Twigg <neil@nats.io>
18 KiB
18 KiB