Module windows_urandom

Procs

proc urandom*(size: Natural): seq[uint8] {.raises: [EOS].}
Returns size bytes obtained by calling CryptGenRandom. Initialization is done before the first call with CryptAcquireContext(..., PROV_RSA_FULL, CRYPT_VERIFYCONTEXT). Raises EOS on failure.
Generated: 2014-08-25 17:15:01 UTC