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
Type: Rng.Strength
Required security strength

Return Value

Random bytes in hex format

See Also

VB6/C equivalent: RNG_HexWithPrompt

[Contents] [Index]

[PREV: Rng.HexWithPrompt Method (Int32)...]   [Contents]   [Index]   
   [NEXT: Rng.Initialize Method...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.