Generating Unique Keys
Nagy László
nagylzs at freemail.hu
Wed Jan 29 11:57:01 EST 2003
Grant Edwards wrote:
>In article <mailman.1043853713.17341.python-list at python.org>, Nagy László wrote:
>
>
>
>>>Sorry to be off topic, but why especially? At least on Linux,
>>>/dev/random is determined by various hardware factors chosen for the
>>>difficulty to guess them (i.e. the float between keyboard controller
>>>clock and the CPU clock generator) and then passed through a one way
>>>hash function. =20
>>>
>>>
>>Isn't it used for initializing only?
>>
>>
>
>No. Reading /dev/random returns random bits from an entropy
>"pool" generated by various HW events. When the pool runs out,
>the read will block until more "randomness" happens -- which
>can be rather inconvenient when you're running a simulation or
>test that's using lots of random values.
>
>
>
This is a wonderful place to learn from. :-)
Laci 1.0
More information about the Python-list
mailing list