randomgen.chacha.ChaCha.jump

ChaCha.jump(iter=1)

Jumps the state as-if 2**64 random numbers have been generated.

Parameters:
iter=1

Number of times to jump the state of the rng.

Returns:

self – PRNG jumped iter times

Return type:

ChaCha

Notes

Jumping the rng state resets any pre-computed random numbers. This is required to ensure exact reproducibility.