Random Class
Generates cryptographically strong random numbers.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public static class Random
Public NotInheritable Class Random
public ref class Random abstract sealed
Gemstone.Security.Cryptography.Random = function();
Type.createClass(
'Gemstone.Security.Cryptography.Random');
- Inheritance
- Object Random
| 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.
|
| Int16 |
Generates a cryptographically strong 16-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.
|
| UInt16 |
Generates a cryptographically strong unsigned 16-bit random integer.
|
| UInt32 |
Generates a cryptographically strong unsigned 32-bit random integer.
|
| UInt64 |
Generates a cryptographically strong unsigned 64-bit random integer.
|
| Between |
Generates a semi cryptographically strong random integer between specified values.
|
| ByteBetween |
Generates a cryptographically strong 8-bit random integer between specified values.
|
| 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.
|
| Int32Between |
Generates a cryptographically strong 32-bit random integer between specified values.
|
| Int64Between |
Generates a cryptographically strong 64-bit random integer between specified values.
|
| UInt16Between |
Generates a cryptographically strong unsigned 16-bit random integer between specified values.
|
| UInt32Between |
Generates a cryptographically strong unsigned 32-bit random integer between specified values.
|
| UInt64Between |
Generates a cryptographically strong unsigned 64-bit random integer between specified values.
|