CryptographicallySecurePseudoRandomNumberGenerator.isUsingCryptoApplicationProgrammingInterface

Returns boolean indicating whether this library is using the Windows Crypto API to generate random bytes from the $(MONO CryptGenRandom) API function.

More specifically, this library returns true if $(MONO advapi32.dll) was found, loaded, and all three requisite functions could be loaded from it, which are:

  • $(MONO CryptAcquireContext)
  • $(MONO CryptReleaseContext)
  • $(MONO CryptGenRandom)
class CryptographicallySecurePseudoRandomNumberGenerator
version(Windows)@property @safe @nogc nothrow
bool
isUsingCryptoApplicationProgrammingInterface
(
)

Meta