Re: Random strings

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Random strings
Дата
Msg-id
Pine.LNX.4.30.0108091733450.698-100000@peter.localdomain
Ответ на
Re: Random strings (Joe Conway)
Список
Дерево обсуждения
Re: Random strings "Joe Conway" <joseph.conway@home.com>
Re: Random strings Peter Eisentraut <peter_e@gmx.net>
Joe Conway writes:

> seconds). The same test with /dev/urandom returns instantly. Perhaps there
> should be an option to use either. For instances where only a few truly
> random bytes is needed (i.e. one session key), use /dev/random. When you
> need many random bytes quickly, use /dev/urandom?

Not sure if this is intuitive.  How many bytes is "a few"?  Maybe just be
honest about it and name them randomstr and urandomstr or such.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

В списке pgsql-patches по дате отправления
От: Peter Eisentraut
Дата:
От: Joe Conway
Дата:
Сообщение: Re: Random strings
FAQ