- Issue created by @andypost
- First commit to issue fork.
- 🇧🇷Brazil elber Brazil
Hi @andypost can you give more details about PHP random extension?
I saw these files but I didn't find a usage to this issue.
https://www.php.net/manual/en/random-engine-secure.generate.php
- 🇫🇷France andypost
I think we can optimize generation (which caused test slowness) first, for example by removing internal loop and use
random_bytes()
or new extension to get lines- https://www.php.net/manual/en/function.random-bytes.php can return bytes but it needs some bitmask filter to limit result with requested values
- better to deprecate as it's unused and there's already\Drupal\Component\Utility\Random