mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-19 20:31:22 +01:00
The use of random_bytes in combination with bin2hex was producing a lot of duplicate keys when tested in batches of 10k (anywhere from 2 to 6). The use of str_random yielded no duplicates even at scales of 100k keys that were 8 characters.