1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-26 16:52:25 +01:00
Files
archived-doc-en/reference/openssl/functions
Tim Düsterhus 52c495140b random: Clean up cross-references for randomness related functions (#2008)
* random: Reference the corresponding Randomizer methods in random_(bytes|int)

* random: Cross-reference the Randomizer in `str_shuffle()`

* random: Cross-reference the Randomizer in `shuffle()`

* random: Cross-reference the Randomizer in `array_rand()`

* random: Cross-reference `random_bytes()` in `uniqid()`

* random: Do not cross-reference `uniqid()` in `openssl_random_pseudo_bytes()`

uniqid() really is no good alternative to *anything*. In the vast majority of
cases it is better replaced by `bin2hex(random_bytes(…))`.

* random: Replace the `mt_rand()` cross-reference in `openssl_random_pseudo_bytes()` with `random_int()`

random_int() is a CSPRNG like openssl_random_pseudo_bytes(), mt_rand() is not.
2022-11-15 11:19:28 +01:00
..
2022-09-29 01:36:12 +09:00
2022-01-14 15:46:56 +01:00
2010-03-28 22:10:10 +00:00
2021-02-21 20:54:43 +01:00
2021-09-14 15:09:52 +02:00
2021-09-14 15:09:52 +02:00