Click or drag to resize

RngKeyHex(Int32, String) Method

Generates a random key in hex format

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static string KeyHex(
	int numBytes,
	string seedStr = ""
)

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

String
Random bytes in hex format
See Also