arc4rand arc4random random read_random srandom - supply pseudo-random numbers
int read_random (void *buffer int count);
function will return very good quality random numbers, slightly better suited for security-related purposes. The random numbers from arc4rand ();
are seeded from the entropy device if it is available. Automatic reseeds happen after a certain timeinterval and after a certain number of bytes have been delivered. A forced reseed can be forced by passing a non-zero value in the Fa reseed argument.
function is used to return entropy directly from the entropy device if it has been loaded. If the entropy device is not loaded, then the Fa buffer is filled with output generated by random (.);
The Fa buffer is filled with no more than Fa count bytes. It is advised that read_random ();
is not used; instead use arc4rand ();
All the bits generated by
and read_random ();
are usable. For example, `random()&01 ' will produce a random binary value.
is a convenience function which calls arc4rand ();
to return a 32 bit pseudo-random integer.
function uses the RC4 algorithm to generate successive pseudo-random bytes. The arc4random ();
function uses arc4rand ();
to generate pseudo-random numbers in the range from 0 to (2**32)-1.
function returns the number of bytes placed in Fa buffer .
Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру