Click or drag to resize

RngKeyBytes(Int32, String) Method

Generates a random key

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static byte[] KeyBytes(
	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

Byte
Array of random bytes
See Also