CryptoSys API Library Manual

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

Generates random bytes in hex format with a prompt for keyboard input

Syntax

[C#]
public static string HexWithPrompt(
	int numBytes,
	string prompt,
	Rng.Strength strength
)
[VB.NET]
Public Shared Function HexWithPrompt ( _
	numBytes As Integer, _
	prompt As String, _
	strength As Rng.Strength _
) As String

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

Random bytes in hex format

[Contents] [Index]

[HOME]   [NEXT: Rng.Initialize Method...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.