(): number Generate a random number in [0-1).
returns A number between 0 and 1.
(): string Save the internal state to a string.
Used to allow restoring the exact state of the generator.
returns The state of the generator as string.
(data: string): boolean Load the state of the generator from a string.