Click or drag to resize

RngBytesWithPrompt(Int32, String, RngStrength) Method

Generate an array of random bytes with a prompt for random keyboard input.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static byte[] BytesWithPrompt(
	int numBytes,
	string prompt,
	RngStrength strength
)

Parameters

numBytes  Int32
Required number of random bytes
prompt  String
Alternative prompt. Set as an empty string "" for the default prompt.
strength  RngStrength
Required security strength

Return Value

Byte
Array of random bytes
See Also