[php-src] PR #13540: random: Clean up seeding API
| From: | TimWolla | Date: | Tue, 27 Feb 2024 21:03:23 +0000 |
| Subject: | [php-src] PR #13540: random: Clean up seeding API | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25175@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13540
Author: TimWolla
As promised in https://github.com/php/php-src/pull/13350#issuecomment-1934790546:
> As a possible follow-up, I plan to remove the seed member from the struct php_random_algo and
> instead add well-typed engine specific seed functions, because seeding an engine generically does
> not appear super useful to me (Mt19937 ignores the upper half of the uint64_t seed for example).