[Python-ideas] Globally configurable random number generation
bussonniermatthias at gmail.com
Mon Sep 14 18:21:08 CEST 2015
> On Sep 14, 2015, at 06:51, Donald Stufft <donald at stufft.io> wrote:
> I don't love the "seedable" and "seedless" names here, but I don't have a
> better suggestion for the userspace CSPRNG one because it's security properties
> are a bit nuanced. People doing security sensitive things like generating keys
> for cryptography should still use something based on os.urandom, so it's mostly
> about providing a safety net that will "probably"  be safe.
> something like random.ProbablySecureRandom is a bad name :)
Yes but unsecureRandom for the unsecure one (which obviously is insecure)
is not unreasonable. (unsafe can be shorter)
Also seedless does not mean secure: https://xkcd.com/221/ <https://xkcd.com/221/> :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas