Random
Everything under Quiote\Support\Random.
Classes
Section titled “Classes”| Class | Description |
|---|---|
Randomness | Static facade over the process-wide source of entropy, mirroring Clock. |
SeededRandomness | A source of entropy that is not random at all: the same seed always produces the same sequence of SeededRandomness::bytes()/SeededRandomness::int() results, in call order. |
SystemRandomness | The real source of entropy: SystemRandomness::bytes()/SystemRandomness::int() answer from PHP’s CSPRNG exactly like random_bytes()/random_int() always did. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
RandomnessInterface | The one seam every direct random_bytes()/random_int() call site on the request path is meant to go through instead. |