Method | Description | |
---|---|---|
GetRandomBytes ( int bytes ) : byte[] |
Fills an array of bytes with a sequence of random values.
|
|
HashRngProvider ( ) : System |
Initializes a new instance of the HashRngProvider. Uses SHA256 by default to generate random values. |
|
HashRngProvider ( |
Initializes a new instance of the HashRngProvider with a specified HashAlgorithm.
|
public GetRandomBytes ( int bytes ) : byte[] | ||
bytes | int | The desired number of bytes to return. |
return | byte[] |
public HashRngProvider ( |
||
algorithm | The |
|
return | System |