Random Class

Generates cryptographically strong random numbers.

Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static class Random
Inheritance
Object    Random

Properties

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.

Methods

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.

See Also