Re: [Tutor] Does the secrets module in Python 3.6 use a hardware RNG like that provided in Intel CPUs?

2018-03-11 Thread Steven D'Aprano
Hi Simon, On Fri, Mar 09, 2018 at 10:07:14PM +, Simon Connah via Tutor wrote: > Hi, > I was reading through the secrets documentation in Python 3.6 and > noticed that it uses /dev/urandom but I'm unsure if that means it'll > use a hardware RNG or just one provided by the operating system (Li

[Tutor] Does the secrets module in Python 3.6 use a hardware RNG like that provided in Intel CPUs?

2018-03-09 Thread Simon Connah via Tutor
Hi, I was reading through the secrets documentation in Python 3.6 and noticed that it uses /dev/urandom but I'm unsure if that means it'll use a hardware RNG or just one provided by the operating system (Linux / Windows / etc) in software. The question is is it possible to determine the source o