Xoshiro256StarStar
final class Xoshiro256StarStar implements Engine (View source)
Methods
Constructs a new xoshiro256** engine
Generates randomness
Efficiently move the engine ahead by 2^128 steps
Efficiently move the engine ahead by 2^192 steps
No description
No description
No description
Details
__construct(string|int|null $seed = null)
Constructs a new xoshiro256** engine
string
generate()
Generates randomness
Returns randomness and advances the algorithm’s state by one step.
void
jump()
Efficiently move the engine ahead by 2^128 steps
Moves the algorithm’s state ahead by 2128 steps, as if Random\Engine\Xoshiro256StarStar::generate was called 2128 times.
void
jumpLong()
Efficiently move the engine ahead by 2^192 steps
Moves the algorithm’s state ahead by 2192 steps, as if Random\Engine\Xoshiro256StarStar::generate was called 2192 times.
array
__serialize()
No description
void
__unserialize(array $data)
No description
array
__debugInfo()
No description