Result = OpenCryptRandom()Description
Opens the cryptographic safe pseudorandom number generator. The CryptRandom() and CryptRandomData() commands can be used to read data from the opened generator.
Returns non-zero if the random number generator could be successfully opened. If the result is zero then there is no cryptographic safe random number generator available on the system.
This generator provides random data which is strong enough for cryptographic purposes such as generating keys for the AESEncoder() function. The source for the random data is the "/dev/urandom" device on Linux or Mac OSX and the "Microsoft Cryptography API" on Windows.
See the CryptRandomData() command for an example.
CryptRandom(), CryptRandomData(), CloseCryptRandom()