[Python-ideas] Globally configurable random number generation
Matthias Bussonnier
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" [1] be safe.
> Probably
> 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)
--
M
Also seedless does not mean secure: https://xkcd.com/221/ <https://xkcd.com/221/> :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150914/45fec998/attachment.html>
More information about the Python-ideas
mailing list