| От | Doug McNaught |
|---|---|
| Тема | Re: Re: Still wondering about random numbers... |
| Дата | |
| Msg-id | m3ae1bjl8d.fsf@belphigor.mcnaught.org обсуждение исходный текст |
| Ответ на | Re: Still wondering about random numbers... (Bruno Wolff III <bruno@wolff.to>) |
| Список | pgsql-general |
Allan Engelhardt <allane@cybaea.com> writes: > On other motherboards, reading from /dev/random can stall > indefinitely. This is not a Good Thing. /dev/urandom is fine, but > not rally better than rand(3) or random(3). Wrong; it's still a lot better, especially if you have a reasonable amount of entropy coming in--/dev/urandom uses the same entropy pool as /dev/random and generates its data using a cryptographically secure hash function. This is still a lot better (for crypto purposes) than the simple LCGs used in the standard C library functions. See the random(4) manpage on your Linux system for more details. -Doug -- Free Dmitry Sklyarov! http://www.freesklyarov.org/ We will return to our regularly scheduled signature shortly.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера