RngBytesWithPrompt(Int32, String, RngStrength) Method |
Generates an array of random bytes with a prompt for keyboard input
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.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