-----BEGIN PGP SIGNED MESSAGE----- I'd like to see the Netscape RNG implemented as a plug-in, preferably with sample source included to make it easier for other people to create compatible plugins. Once there was a published API for the RNG, other apps could use it as well. I like the option of using a cypherpunks approved RNG. No offense to Netscape, but I'd feel a lot more comfortable using a RNG with say Perry's signature or Matt Blaze's. jpb -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQEVAwUBMGINp2GnwFiC3O2NAQGUYwf/e7D+Eg3FmPuovUOWEYFmh5T5PZlPD0BJ Ricg4f0UDA34IVrCCKoM1cDvRye8hUerVSjLJDcm/baghrHhoEZCevLsiq4SefbT XuDIjpE+6wM0I5Yz/bU4HK5O2PsvFXRbvgQog0evGKIT2CJPPY/XEBUyPJFTQRcZ 1zr8hbVD74Xj4Xs2q3FEpI7xT4brVFhOluF4j4/jDIbkR3cIbDB0SJgH838rrcjz kp6t+aRqYHJuBwIpVpA522yrhi07opXidTD6LjsZupkSkf3F7twDZwHwM5wv15YL kxhEMv7kREcNNcb1k1bC0luP5KrzDHtFG+wBKraTiSTJIqTGyXw5Ug== =4wHh -----END PGP SIGNATURE-----
I've been working on a Linux RNG. I'm sure you could port this, but it might take some work for Microsoft based programs... --- CLIP HERE --- #!/usr/bin/perl ($b,$s)=@ARGV;$b/=16;open(A,"/dev/audio");while($b--){$t=time;$t+= $s||die"Syntax: $0 bytes security\n";open(O,"|./md5");while(time<$t){ read(A,$x,500);print O $x;}close O;}close A;print"\n"; # USAGE: rng <bytes> <security level>. One external command is used: # ./md5 which I created using # gcc -O3 -mpentium -o md5 md5.c md5drivr.c # where md5drivr.c is modified so that MDFilter()'s line printf("\n") # is commented out. --- CLIP HERE --- Runtime = security * (bytes/16) assuming your machine is fast enough. Each set of 16 bytes uses $s seconds of /dev/audio input to create. I guess you could replace /dev/audio with /dev/mouse. Of course, if you get nothing but d41d8cd98f00b204e9800998ecf8427e you may want to use some other source. :) +---- Yih-Chun Hu (finger:yihchun@cs.washington.edu) ----------------------+ | http://www.cs.washington.edu/homes/yihchun yihchun@cs.washington.edu | | http://weber.u.washington.edu/~yihchun yihchun@u.washington.edu | +---- PGP Key Fingerprints (Keys by FINGER or on WWW) ---------------------+ | 1024/E50EC641 B2 A0 DE 9E 36 C0 EB A6 F9 3E D2 DD 2F 27 74 79 | | 2047/DF0403F9 18 EB 62 C8 7F 06 04 67 42 76 24 E2 99 D1 07 DC | +--------------------------------------------------------------------------+
participants (2)
-
jpb@miamisci.org -
Yih-Chun Hu