mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-22 23:44:45 +02: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.