hey martin, On Thu, Mar 13, 2003 at 11:43:54PM +0100, martin f krafft wrote: > 1. is there already a package that enables this?
not that i know of. > 2. is there a way to inject bytes into the entropy pool of the > linux kernel? yeah, at least as a module. don't know about from userland. basically you declare a device as being able to contribute to the random entropy pool, and give a means for doing so (i don't recall if you have to actually patch the kernel or not, i can look into this tomorrow when i have my hands on a linux kernel book) > 3. how can i read the data from the microphone? it's being > amplified by my soundcard, but cat'ing /dev/dsp gives nothing > really (well, the same byte repeatadly). you can read from it with rec (in the sox package). i used it a couple days ago to record audio from a cassette being pumped into the mic jack. the trouble is, i don't know how to read from it and have it not come out the speakers (i turned themic up, and the master volume down when recording). then again, you hardly need the mic on at all for this, because if you're talking about what i think you're talking about, you get your random entropy from normalizing the amplified white noise, right? sean
pgp00000.pgp
Description: PGP signature