4 ms·CryptGenRandom. It's the Windows equivalent of /dev/urandom.by FiloSottile 10y agoCryptGenRandom. It's the Windows equivalent of /dev/urandom.