1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-28 04:42:29 +01:00
Pterodactyl-Panel/app/Services/Api
Dane Everitt a8c4d6afdb
Update random ID method to use str_random and not random_bytes
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.
2017-09-13 23:07:02 -05:00
..
KeyCreationService.php Update random ID method to use str_random and not random_bytes 2017-09-13 23:07:02 -05:00
PermissionService.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00