Random Class |
The Random type exposes the following members.
Name | Description | |
---|---|---|
Boolean | Generates a cryptographically strong random boolean (i.e., a coin toss). | |
Byte | Generates a cryptographically strong 8-bit random integer. | |
Decimal | Generates a semi cryptographically strong random decimal between zero and one. i.e. [0-1) | |
Int16 | Generates a cryptographically strong 16-bit random integer. | |
Int24 | Generates a cryptographically strong 24-bit random integer. | |
Int32 | Generates a cryptographically strong 32-bit random integer. | |
Int64 | Generates a cryptographically strong 64-bit random integer. | |
Number | Generates a semi cryptographically strong double-precision floating-point random number between zero and one. i.e. [0-1) | |
UInt16 | Generates a cryptographically strong unsigned 16-bit random integer. | |
UInt24 | Generates a cryptographically strong unsigned 24-bit random integer. | |
UInt32 | Generates a cryptographically strong unsigned 32-bit random integer. | |
UInt64 | Generates a cryptographically strong unsigned 64-bit random integer. |
Name | Description | |
---|---|---|
Between | Generates a semi cryptographically strong random integer between specified values. i.e. [startNumber-stopNumber) | |
ByteBetween | Generates a cryptographically strong 8-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
GetBytes | Fills an array of bytes with a cryptographically strong sequence of random values. | |
Int16Between | Generates a cryptographically strong 16-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
Int24Between(Int24, Int24) | Generates a cryptographically strong 24-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
Int24Between(UInt24, UInt24) | Generates a cryptographically strong unsigned 24-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
Int32Between | Generates a cryptographically strong 32-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
Int64Between | Generates a cryptographically strong 64-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
UInt16Between | Generates a cryptographically strong unsigned 16-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
UInt32Between | Generates a cryptographically strong unsigned 32-bit random integer between specified values. i.e. [startNumber-stopNumber) | |
UInt64Between | Generates a cryptographically strong unsigned 64-bit random integer between specified values. i.e. [startNumber-stopNumber) |