Seeds

Quinn Dunkan quinn at bolivar.ugcs.caltech.edu
Thu May 11 19:35:44 CEST 2000


On Thu, 11 May 2000 08:41:17 -0600, Mike Steed <MSteed at altiris.com> wrote:
>> From: Ivan Van Laningham [mailto:ivanlan at home.com]
>> Sent: Thursday, May 11, 2000 6:53 AM
>> To: Python Mailing List
>> Subject: Seeds
>> 
>> 
>> Hi All--
>> What's the best way to obtain seeds for random number generators?
>
>Depending on how serious you are about randomness, you may want to use a
>hardware source (e.g., an audio input device).  See 8.7 in the following
>document:
>
>   http://www.faqs.org/faqs/cryptography-faq/part08/

Also, under linux, see /dev/random.  random.c claims:
 * This routine gathers environmental noise from device drivers, etc.,
 * and returns good random numbers, suitable for cryptographic use.




More information about the Python-list mailing list