Méthode | 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.
|
Méthode | Description | |
---|---|---|
CryptoRandom ( ) : System.Drawing | ||
GenerateRandom256 ( ) : byte[] | ||
GetCspData ( ) : byte[] | ||
GetSystemData ( |
public AddEntropy ( byte pbEntropy ) : void | ||
pbEntropy | byte | Entropy bytes. |
Résultat | void |
public GetRandomBytes ( uint uRequestedBytes ) : byte[] | ||
uRequestedBytes | uint | Number of requested random bytes. |
Résultat | byte[] |