mirror of
https://github.com/alireza0/s-ui.git
synced 2026-06-29 20:21:01 +00:00
- Updated `common.Random` and added `common.RandomInt` to use `crypto/rand` for cryptographically secure random number generation. - Added a thread-safe fallback to `math/rand` in case of system entropy failure. - Optimized `allSeq` initialization by using a rune slice literal instead of a loop in `init()`. - Refactored `util/outJson.go` to use the new `common.RandomInt`, removing the direct dependency on `math/rand`. |
||
|---|---|---|
| .. | ||
| array.go | ||
| err.go | ||
| random.go | ||