Rng Class |
The Rng type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Bytes(Int32) | Generate an array of random bytes. |
![]() ![]() | Bytes(Int32, Byte) | Generate an array of random bytes with user-supplied entropy. |
![]() ![]() | Bytes(Int32, String) | Generate an array of random bytes with user-supplied entropy. |
![]() ![]() | BytesWithPrompt(Int32, RngStrength) | Generate an array of random bytes with a prompt for random keyboard input. |
![]() ![]() | BytesWithPrompt(Int32, String, RngStrength) | Generate an array of random bytes with a prompt for random keyboard input. |
![]() ![]() | Guid | Generate a random 36-character Global Unique IDentifier (GUID) string according to [RFC4122]. |
![]() ![]() | Initialize | Initialize the RNG generator with a seed file. |
![]() ![]() | InitializeEx | Query and initialize the RNG generator using Intel(R) DRNG, if available. |
![]() ![]() | MakeSeedFile | Create a new seed file suitable for use with Rng.Initialize. |
![]() ![]() | Number | Generate a random number (integer) in a given range. |
![]() ![]() | Octet | Generate a single random octet (byte). |
![]() ![]() | Test | Carry out a NIST SP800-90 health check and FIPS140-2 statistical tests on the random number generator. |
![]() ![]() | TestDrbgvs | Test the RNG for conformance to NIST SP800-90A using the relevant test specified in DRBGVS. |
![]() ![]() | UpdateSeedFile | Update the RNG seed file. |
Name | Description | |
---|---|---|
![]() ![]() | SeedFileSize | Required size for RNG seed file |