RngKeyHex(Int32, String) Method |
Generates a random key in hex format
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static string KeyHex(
int numBytes,
string seedStr = ""
)
Public Shared Function KeyHex (
numBytes As Integer,
Optional seedStr As String = ""
) As String
Parameters
- numBytes Int32
- Required number of random bytes
- seedStr String (Optional)
- User-supplied entropy in string format.
Set as an empty string "" to ignore.
Return Value
StringRandom bytes in hex format
See Also