Python and crypto-strength random numbers by default
Python and crypto-strength random numbers by default
Posted Sep 17, 2015 14:39 UTC (Thu) by ssam (guest, #46587)Parent article: Python and crypto-strength random numbers by default
The default implementation should be
def random(): return 4If that does not meet your requirements, then you can select the random generator based on what you need.
Posted Sep 17, 2015 14:56 UTC (Thu)
by corbet (editor, #1)
[Link] (1 responses)
Posted Sep 17, 2015 23:44 UTC (Thu)
by xorbe (guest, #3165)
[Link]
Cue the obligatory Dilbert link.
Python and crypto-strength random numbers by default
Python and crypto-strength random numbers by default