On 6/14/07, Joey K Tuttle <[EMAIL PROTECTED]> wrote:
Is there a similar/good solution in Windows?

To my knowledge, nothing under windows explicitly collects
entropy -- but I think using the low order bits from 6!:9'' as
seed for one of J's RNGs should suffice for most purposes.
(For example, in this thread we are talking about salt for a
password -- not key generation.)

For cases where you need better, throwing in a bit of
slowly changing secret information might be a good
step.  Or, you could do something like:
  9!:1(_2^31)+(2x^32)|(p:@((2^26)&|)@(6!:9)*x:@(6!:9))''

Note that under windows
  (6!:9-:6!:9)''
0

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to