[prev in list] [next in list] [prev in thread] [next in thread]
List: python-ideas
Subject: Re: [Python-ideas] Should our default random number generator be secure?
From: Jeremy Sanders <jeremy () jeremysanders ! net>
Date: 2015-09-15 14:02:43
Message-ID: mt98dj$nu$1 () ger ! gmane ! org
[Download RAW message or body]
M.-A. Lemburg wrote:
> If you can come up with a crypto RNG that allows repeating the
> results, I think you'd have us all convinced, otherwise it
> doesn't really make sense to compare apples and oranges,
> and insisting that orange juice is better for you than
> apple juice ;-)
According to
http://www.pcg-random.org/other-rngs.html
This chacha20 implementation is seedable and should be reproducible:
https://gist.github.com/orlp/32f5d1b631ab092608b1
...though I am concerned about the k-dimensional equidistribution as a
scientist, and also that if the random number generator is changed without
the interface changing, then it may screw up tests and existing codes which
rely on a particular sequence of random numbers.
J
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic