A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2015-October/141979.html below:

[Python-Dev] PEP 506 secrets module

[Python-Dev] PEP 506 secrets module [Python-Dev] PEP 506 secrets moduleVictor Stinner victor.stinner at gmail.com
Tue Oct 20 05:33:59 EDT 2015
2015-10-20 11:11 GMT+02:00 Nick Coghlan <ncoghlan at gmail.com>:
> Folks wanting to simulate die rolls should be using the random module
> rather than the secrets module anyway,

Hum, why? Dices are used in Casino where security matters because it
costs money.

A bad API can be more likely misused and introduce security
vulnerability. The C rand() API is a good example: 1+rand()%6 is not
uniform...

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4