7 generators are Lehmer, Rotenberg, GGL, Neave Oakenfull (2) and
Wichmann-Hill
docs.python.org/library/random.html
Weibull function or Brownian motion are also wellknown randomnesses:
import random
print random.weibullvariate(2,2)
output:
1.85255758863
--~--~-~--~~~---~
Hi Anh,
On Wed, Oct 7, 2009 at 11:15 AM, Anh Hai Trinh wrote:
>
> On Oct 7, 4:07 pm, "Nick Johnson (Google)"
> wrote:
> > Hi Anh,
> > Good question! There's nothing built directly in, but you have several
> > options:
> > - You can implement, or use an existing implementation of a well known
> >
Frankly this is when I would start exploring supplying random data to
my app myself, externally. For example, many hosting providers supply
hardware random number generators. I'd find an economical one and have
it dump as much entropy as you need into into AppEngine via cron. Sign
the data from th
On Oct 7, 4:07 pm, "Nick Johnson (Google)"
wrote:
> Hi Anh,
> Good question! There's nothing built directly in, but you have several
> options:
> - You can implement, or use an existing implementation of a well known
> cryptographically secure PRNG, such as Blum Blum Shub.
> - You can make use of
Hi Anh,
Good question! There's nothing built directly in, but you have several
options:
- You can implement, or use an existing implementation of a well known
cryptographically secure PRNG, such as Blum Blum Shub.
- You can make use of one of the block ciphers provided by pycrypto to
generate a PRN
Yep. You can write anything you want in python.
Need a random number... Try this...
Perform a database transform 18 times, take the execution times of these,
find the min execution time, and Max execution time.
Assign the longest time to be 100% and the shortest to be 0% the remaining
16 pa