mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 14:48:24 +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.