On Dec 20 16:32, Jim Garrison via Cygwin wrote:
> I dug around in the Cygwin doc looking for details on how /dev/random
> and /dev/urandom are implemented, but came up empty.  Is this
> documented anywhere?

Not documented as such, it's a "use the source, luke" kind of
information.

/dev/random is implemted by calling RtlGenRandom().

/dev/urandom is implemted by calling RtlGenRandom() and, if that fails
(which is extremly unlikely) it falls back to a very simple PRNG.


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to