PDA

View Full Version : How safe is it to use hdparm to generate entropy?


auroraborealis
May 2nd, 2006, 10:03 PM
For a project, I needed a way to increase the entropy pool without typing keys or moving the mouse. I don't know much about how Linux increases its entropy pool, but I did read somewhere that disk I/O would cause this increase. So I came up with a simple way to accomplish my task:

hdparm -t /dev/hda1

But I'm thinking that this could be deterministic somehow. I haven't been able to find out any more information on this issue. Does any have experience with entropy generation?

Ocxic
May 2nd, 2006, 10:05 PM
what is an etropy???, I have no idea what your talking about, but it sounds interesting.

auroraborealis
May 2nd, 2006, 10:07 PM
Entropy is randomness.

jazzmuzik
May 2nd, 2006, 10:58 PM
From what I understand, generating true randomness on a computer is difficult if not impossible. You should ask your question on the programming forum.