Method | Description | |
---|---|---|
CryptoRandomStream ( CrsAlgorithm genAlgorithm, byte pbKey, ICanSHA256Hash hasher ) : System |
Construct a new cryptographically secure random stream object.
|
|
GetRandomBytes ( uint uRequestedCount ) : byte[] |
Get uRequestedCount random bytes.
|
|
GetRandomUInt64 ( ) : ulong |
public CryptoRandomStream ( CrsAlgorithm genAlgorithm, byte pbKey, ICanSHA256Hash hasher ) : System | ||
genAlgorithm | CrsAlgorithm | Algorithm to use. |
pbKey | byte | Initialization key. Must not be |
hasher | ICanSHA256Hash | |
return | System |
public GetRandomBytes ( uint uRequestedCount ) : byte[] | ||
uRequestedCount | uint | Number of random bytes to retrieve. |
return | byte[] |