CryptoSys API Library Manual
Rng.BytesWithPrompt Method (Int32, String, Rng.Strength)
Generates an array of random bytes with a prompt for keyboard input
Syntax
[C#]
public static byte[] BytesWithPrompt(
int numBytes,
string prompt,
Rng.Strength strength
)
[VB.NET]
Public Shared Function BytesWithPrompt ( _
numBytes As Integer, _
prompt As String, _
strength As Rng.Strength _
) As Byte()
Parameters
- numBytes
- Required number of random bytes
- prompt
- Alternative prompt. Set as an empty string "" for the default prompt.
- strength
- Type: Rng.Strength
Required security strength
Return Value
Array of random bytes
See Also
VB6/C equivalent: RNG_BytesWithPrompt
[Contents] [Index]