CryptoSys PKI .NET Class Library

Rng.Bytes Method (Int32, String)

Generates an array of random bytes with user-supplied entropy

[Visual Basic]
Overloads Public Shared Function Bytes( _
   ByVal numBytes As Integer, _
   ByVal seedStr As String _
) As Byte()
[C#]
public static byte[] Bytes(
   int numBytes,
   string seedStr
);

Parameters

numBytes
Required number of random bytes
seedStr
User-supplied entropy in string format

Return Value

Array of random bytes

See Also

Rng Class | CryptoSysPKI Namespace | Rng.Bytes Overload List