CryptoSys API Library Manual
Rng.KeyHex Method (Int32, String)
Generates a random key in hex format
Syntax
[C#]
public static string KeyHex(
int numBytes,
string seedStr
)
[VB.NET]
Public Shared Function KeyHex ( _
numBytes As Integer, _
seedStr As String _
) As String
Parameters
- numBytes
- Required number of random bytes
- seedStr
- User-supplied entropy in string format. Set as an empty string "" to ignore.
Return Value
Random bytes in hex format
See Also
VB6/C equivalent: RNG_KeyHex
[Contents] [Index]