RandomByteBetween Method
Generates a cryptographically strong 8-bit random integer between specified values.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static byte ByteBetween(
byte startNumber,
byte stopNumber
)
Public Shared Function ByteBetween (
startNumber As Byte,
stopNumber As Byte
) As Byte
public:
static unsigned char ByteBetween(
unsigned char startNumber,
unsigned char stopNumber
)
Gemstone.Security.Cryptography.Random.ByteBetween = function(startNumber, stopNumber);
- startNumber Byte
- A Byte that is the low end of our range.
- stopNumber Byte
- A Byte that is the high end of our range.
ByteA
Byte that is generated between the
startNumber and the
stopNumber.
CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |