Hello all. Silly question, not SuSE specific but I'm sure one of yas knows the answer. What's the difference between /dev/random && /dev/urandom? Thank yas! /* ** Keith Warno ** Make Us An Offer, Inc. ** Real-Time Online Haggling ** http://www.HaggleWare.com/ */ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Ahh.. hmmm.. at first glance, /dev/urandom spews out a helluva lot more
sh*t. (probably explains the "u".. perhaps new stuff every microsecond?!)
till, any concrete thoughts would be appreciated.
----- Original Message -----
From: "Keith Warno"
Hello all. Silly question, not SuSE specific but I'm sure one of yas knows the answer.
What's the difference between /dev/random && /dev/urandom?
Thank yas!
/* ** Keith Warno ** Make Us An Offer, Inc. ** Real-Time Online Haggling ** http://www.HaggleWare.com/ */
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Look at /usr/src/linux-2.2.7.SuSE/drivers/char/random.c
It is a (not psuedo) random number generator. urandom is unsigned,
random signed numbers.
Jeffrey
Quoting Keith Warno
Ahh.. hmmm.. at first glance, /dev/urandom spews out a helluva lot more sh*t. (probably explains the "u".. perhaps new stuff every microsecond?!)
still, any concrete thoughts would be appreciated.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, Mar 07 2000 at 11:53 -0600, Jeffrey L . Taylor wrote:
Look at /usr/src/linux-2.2.7.SuSE/drivers/char/random.c
It is a (not psuedo) random number generator. urandom is unsigned, random signed numbers.
Huh? Where do you have that from? Quote from the mentioned file: * The two other interfaces are two character devices /dev/random and * /dev/urandom. /dev/random is suitable for use when very high * quality randomness is desired (for example, for key generation or * one-time pads), as it will only return a maximum of the number of * bits of randomness (as estimated by the random number generator) * contained in the entropy pool. * * The /dev/urandom device does not have this limit, and will return * as many bytes as are requested. As more and more random bytes are * requested without giving time for the entropy pool to recharge, * this will result in random numbers that are merely cryptographically * strong. For many applications, however, this is acceptable. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Quoting Stefan Troeger
Hi,
On Tue, Mar 07 2000 at 11:53 -0600, Jeffrey L . Taylor wrote:
Look at /usr/src/linux-2.2.7.SuSE/drivers/char/random.c
It is a (not psuedo) random number generator. urandom is unsigned, random signed numbers.
Huh? Where do you have that from? Quote from the mentioned file:
Yep. I forgot to insert coffee before putting e-mailer in gear. Jeffrey -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
<quote name="Keith Warno" date="952429670" email="keith@HaggleWare.com">
Hello all. Silly question, not SuSE specific but I'm sure one of yas knows the answer.
What's the difference between /dev/random && /dev/urandom? </quote>
"man 4 random" regards, Gerrit. -- Plies korekt enie bet ingglisj joe encauntur in mai imil mesusj! -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com Version: 3.12 GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y -----END GEEK CODE BLOCK----- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
thanks for the responses. the comment in /usr/src/linux/drivers/char/random.c provided a good explanation. :) kw -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
gerrit@nl.linux.org
-
keith@HaggleWare.com
-
muskrat@texas.net
-
stefan.troeger@wirtschaft.tu-chemnitz.de