[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /dev/random and similar



-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 22 Nov 1996, Mark M. wrote:

> On Fri, 22 Nov 1996, Three Blind Mice wrote:
> 
> > There was a thread here a while back about /dev/random and similar devices
> > for Linux, but I managed to lose the mails and the hks.net archives still
> > aren't working (any news on that?).  If someone could tell me where I
> > could find such a driver, I would appreciate it very much.      TIA!
> 
> It's part of the kernel (as of 2.0).  All you have to do is create the devices
> /dev/random and /dev/urandom with major number 1 and minor numbers 8 and 9
> respectively.
> 
> Mark

It should be noted, however, that only /dev/random is cryptographically
pseudorandom. (or rather, can be safely treated as such).  /dev/urandom
cuts some strings to be faster, but is less reliable.

 --Deviant
   PGP KeyID = E820F015 Fingerprint = 3D6AAB628E3DFAA9 F7D35736ABC56D39

They seem to have learned the habit of cowering before authority even when
not actually threatened.  How very nice for authority.  I decided not to
learn this particular lesson.
                -- Richard Stallman


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQEVAwUBMpaG9jCdEh3oIPAVAQFuLgf+Jv+p8e4pYsSW9e17aOJhly2343Xo4KdM
SWZzaZRAz2/4Q1T2kKR0VGA5g8NveXw0TotMYadFFB/V6W1ibqcYRmetIvJQbfED
9oGz5SEdTNGrTFEGWlRHYBcEw1bqLEPQ4b2Wov8tdwwQAuHcQic4q3HGIN1xjV+z
3SdLJWxfOWYXxQvrXGtaXEr5mAM8ZxtnpWt0WJuSxlFxDTS2xmOjAx+jr+KnJiih
7pf9Z/Gy4mA6h4u191iDIhP0BQG+84p50y+9Im4kPd0BMFk1+/XUfcyNBV0WL7H/
Odqe4QblkWaJnAL6H4TetLbeaF79hjspJcVNtcy03a+7lsfACPAGjg==
=zl6V
-----END PGP SIGNATURE-----