2 ms·
What is the stream parameter in the constructor `explicit ChaCha(uint64_t seedval, uint64_t stream = 0);`?
by netheril96 11y ago
What is the stream parameter in the constructor `explicit ChaCha(uint64_t seedval, uint64_t stream = 0);`?
- nightcracker 11y agoIt allows you to make multiple parallel streams of random data with the same seed. If you prefer, you can see the seed + stream as a combined 128 bit seed.