Re: Finally a safe and math accurate random64bit function ! ;)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


sci.crypt archive

Re: Finally a safe and math accurate random64bit function ! ;)

From: Skybuck Flying <spam@hotmail.com>
Date: Sat Apr 29 2006 - 12:30:07 CEST

Well

There are two conclusions possible

1. Either I am not applieing the algorithm properly.

or

2. The algorithm is just flawed.

The problem is with modules M

I set ModulesM to the input parameter which is the Range.

When Random(1) is called, mod M will force the randseed to zero, which will
reset the algorithm more or less.

So then the outcome will always be the same or something like that.

Pretty bogus shit.

Bye,
  Skybuck.
Received on Mon May 1 02:05:59 2006