RngBytesWithPrompt(Int32, String, RngStrength) Method |
Generate an array of random bytes with a prompt for random keyboard input.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] BytesWithPrompt(
int numBytes,
string prompt,
RngStrength strength
)
Public Shared Function BytesWithPrompt (
numBytes As Integer,
prompt As String,
strength As RngStrength
) As Byte()
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
ByteArray of random bytes
See Also