cactus:~$ ./foo /dev/urandom
0: 7767 1: 7820 2: 7703 3: 7516 4: 7680 5: 7730 6: 7831 7: 7758 8: 3716
9: 3877 A: 3796 B: 3891 C: 3790 D: 3866 E: 3911 F: 3817
cactus:~$ ./foo /dev/urandom
0: 7733 1: 7723 2: 7747 3: 7833 4: 7807 5: 7721 6: 7595 7: 7606 8: 3771
9: 3850 A: 3879 B: 3873 C: 3883 D: 3910 E: 3967 F: 3924
cactus:~$ ./foo /dev/urandom
0: 7729 1: 7860 2: 7793 3: 7743 4: 7694 5: 7754 6: 7610 7: 7620 8: 3841
9: 3846 A: 3843 B: 3795 C: 3921 D: 3767 E: 3904 F: 3860
cactus:~$ uname -a
Linux cactus 2.2.13 #6 Fri Feb 25 23:10:36 PST 2000 i586 unknown
cactus:~$
... i don't know if this issue has been addressed/known/fixed (i don't
usually do much with linux), but i thought if it hasn't it should be
pointed out.. the first bit of a nibble being that much more likely to be
0 than 1 isn't acceptable for most applications that require a steady
stream of random numbers, i'd think.
Robert Ross
Associate Systems Engineer
Recourse Technologies, Inc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:15 EST