> > Actually you left something out, the PRNG by definition must have a > > modulus of repetition. At some point it starts the sequence over. > > > As usual, Jim is wrong. There are deterministic systems which never > repeat. For example, there is an algorithm which will give you the > nth digit of pi.
http://www.mathsoft.com/asolve/plouffe/plouffe.html > If I use this as my PRNG (one way I could seed it would > be to use key to pick a starting point) Or just mix pi with a more conventional PRNG, which will avoid you having to use huge seeds to stop your output stream matching anyone's pregenerated lookup tables of lots of digits of pi. -- Alan Braggins mailto:[EMAIL PROTECTED] http://www.ncipher.com/ nCipher Corporation Ltd. +44 1223 723600 Fax: +44 1223 723601