diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-23 13:52:58 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-23 13:55:28 +0700 |
| commit | 97bdd0d7b8411135c67d78441e73b8e2d6aff170 (patch) | |
| tree | 40705cb253d63271e1f73f493a7b5eea6f8f516e /go.mod | |
| parent | 1b10f5c1d9b0d91e9675963b8307180cbf222b4e (diff) | |
| download | rescached-97bdd0d7b8411135c67d78441e73b8e2d6aff170.tar.xz | |
cmd/resolver: replace "math/rand" with "crypto/rand"
The random number from "math/rand" is predictable if the seed is known.
Even though the random number here is only for generating unique request
ID, we still need to prevent this by using more secure random number.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions
