Appearance
GetRandomNumbers Method
Definition
- Namespace:
JASE.Interfaces - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
bool GetRandomNumbers(byte[] target) | Populates an array of bytes using a cryptographically secure random number generator Internally this uses System.Security.Cryptography.RandomNumberGenerator |
byte[] GetRandomNumbers(int length) | Generates a cryptographically secure array of bytes of the requested length. Internally this uses System.Security.Cryptography.RandomNumberGenerator |
bool GetRandomNumbers(byte[] target)
csharp
bool GetRandomNumbers(byte[] target)Populates an array of bytes using a cryptographically secure random number generator Internally this uses System.Security.Cryptography.RandomNumberGenerator
Parameters
| Name | Description |
|---|---|
target | Target array of bytes |
byte[] GetRandomNumbers(int length)
csharp
byte[] GetRandomNumbers(int length)Generates a cryptographically secure array of bytes of the requested length. Internally this uses System.Security.Cryptography.RandomNumberGenerator
Parameters
| Name | Description |
|---|---|
length | Number of bytes requested |