mirror of
https://github.com/restic/restic.git
synced 2026-05-14 14:25:23 +00:00
ebce4b2581
When setting up the index used for benchmarking, use math/rand instead of crypto/rand since the generated ids don't need to be evenly distributed, and not be secure against guessing. As such, use a different random id function (only available during tests) that uses math/rand instead.