CryptoSys PKI Toolkit Manual

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

Generates a random set of byte data with a prompt to enter random keystrokes.

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
Estimated security strength

Return Value

Array of random bytes

[Contents] [Index]

[HOME]   [NEXT: Rng.Bytes Method (Int32, Byte)...]

Copyright © 2004-9 D.I. Management Services Pty Ltd. All rights reserved.