CryptoSys PKI Pro Manual

Rng.BytesWithPrompt Method (Int32, String, Rng.Strength)

Generate an array of random bytes with a prompt for random 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]

[PREV: Rng.BytesWithPrompt Method (Int32, Rng.Strength)...]   [Contents]   [Index]   
   [NEXT: Rng.Guid Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.