CryptoSys PKI Toolkit Manual
Rng.Bytes Method (Int32, Byte[])
Generates an array of random bytes with user-supplied entropy
Syntax
[C#]
public static byte[] Bytes(
int numBytes,
byte[] arrSeed
)
[VB.NET]
Public Shared Function Bytes ( _
numBytes As Integer, _
arrSeed As Byte() _
) As Byte()
Parameters
- numBytes
- Required number of random bytes
- arrSeed
- User-supplied entropy in byte format
Return Value
Array of random bytes
Examples (VB.NET)
See
Example1
See Also
VB6/C equivalent: RNG_Bytes
[Contents] [Index]