Method | Description | |
---|---|---|
AddEntropy ( byte pbEntropy ) : void |
Update the internal seed of the random number generator based on entropy data. This method is thread-safe.
|
|
GetRandomBytes ( uint uRequestedBytes ) : byte[] |
Get a number of cryptographically strong random bytes. This method is thread-safe.
|
Method | Description | |
---|---|---|
CryptoRandom ( ) : System.Drawing | ||
GenerateRandom256 ( ) : byte[] | ||
GetCspData ( ) : byte[] | ||
GetSystemData ( |
public AddEntropy ( byte pbEntropy ) : void | ||
pbEntropy | byte | Entropy bytes. |
return | void |
public GetRandomBytes ( uint uRequestedBytes ) : byte[] | ||
uRequestedBytes | uint | Number of requested random bytes. |
return | byte[] |