mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 09:09:02 +00:00
781789e779
Suggested by logs in #30729 - Remove `math/rand.Seed` `rand.Seed is deprecated: As of Go 1.20 there is no reason to call Seed with a random value.` - Replace `math/rand.Read` `rand.Read is deprecated: For almost all use cases, [crypto/rand.Read] is more appropriate.` - Replace `math/rand` with `math/rand/v2`, which is available since Go 1.22 (cherry picked from commit 7b8e418da1e082786b844562a05864ec1177ce97) |
||
---|---|---|
.. | ||
hash | ||
pwn | ||
password.go | ||
password_test.go | ||
pwn.go |