You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, the urandom module currently uses CryptGenRandom on Windows. It may be easier to use RtlGenRandom instead. It may also make sense to use arc4random_buf on openBSD systems as its use is encouraged there
The text was updated successfully, but these errors were encountered:
The
urandom
module doesn't currently check that the/dev/urandom
file is actually a source of random data. It should check that the file handle is a character device as is done in this example module: https://github.com/euantorano/sysrandom.nim/blob/master/src/sysrandom.nim#L118Additionally, the
urandom
module currently usesCryptGenRandom
on Windows. It may be easier to useRtlGenRandom
instead. It may also make sense to usearc4random_buf
on openBSD systems as its use is encouraged thereThe text was updated successfully, but these errors were encountered: