|
|
Subscribe / Log in / New account

Python and crypto-strength random numbers by default

Python and crypto-strength random numbers by default

Posted Sep 18, 2015 15:46 UTC (Fri) by diegor (subscriber, #1967)
Parent article: Python and crypto-strength random numbers by default

It seems to me, that not even OpenBSD replaced the default random generator with a "high-security" generator:

http://www.rocketaware.com/man/man3/random.3.htm

If we follow the Theo's reasoning, we should expect that random() in standard C library was using arc4random.

So I wonder why Theo suggests that python should do it?


to post comments

Python and crypto-strength random numbers by default

Posted Sep 18, 2015 22:21 UTC (Fri) by wahern (subscriber, #37304) [Link]

It helps if you read a version of the man page from this decade: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/ma...

OpenBSD changed the behavior starting with OpenBSD 5.7.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds