4 ms·
If you want a CSPRNG where you can get very distant parts of the keystream just use a stream cipher like ChaCha20's keystream or AES-CTR-DRBG. Set the counter t
by SAI_Peregrinus 3y ago
If you want a CSPRNG where you can get very distant parts of the keystream just use a stream cipher like ChaCha20's keystream or AES-CTR-DRBG. Set the counter to the place in the keystream you desire!
- LegionMammal978 3y agoOf course, the 'crank' here is looking for a cipher with an easy-to-understand keystream; but my own goal was always to efficiently compute the digits of numbers for their particular algebraic properties, to an arbitrary distance. Though it looks like there really might not be any alternative to Newton's method (or similar) for many of them.