[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
arandom question
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: arandom question
- From: veins <veins_(_at_)_skreel_(_dot_)_org>
- Date: Sat, 23 Nov 2002 18:02:16 +0100
Hi
I was having fun writting a small utility that displays pixels randomly in some
window and I noticed something.
When reading from /dev/urandom, pixels are displayed everywhere:
http://www.skreel.org/~veins/pics/urandom_entropy.jpg
but when reading from /dev/arandom, i get the following:
http://www.skreel.org/~veins/pics/arandom_entropy.jpg
showing that a particular value is never read from the device.
I left the app running and I noticed that very often, similar lines appear after
some time showing that the another value comes out very often compared to other
as the clearer lines show:
http://www.skreel.org/~veins/pics/arandom_entropy2.jpg
I was just wondering if this is a normal behaviour or not from arandom ?
-- veins
Visit your host, monkey.org