CryptoSys PKI Pro Manual

Rng.BytesWithPrompt Method (Int32, Rng.Strength)

Generate an array of random bytes with a prompt for random keyboard input.

Syntax

[C#]
public static byte[] BytesWithPrompt(
	int numBytes,
	Rng.Strength strength
)
[VB.NET]
Public Shared Function BytesWithPrompt ( _
	numBytes As Integer, _
	strength As Rng.Strength _
) As Byte()

Parameters

numBytes
Required number of random bytes
strength
Type: Rng.Strength
Estimated security strength (default=112 bits)

Return Value

Array of random bytes

See Also

VB6/C equivalent: RNG_BytesWithPrompt

[Contents] [Index]

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

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