CryptoSys PKI Toolkit Manual

Rng.Bytes Method (Int32, String)

Generates an array of random bytes with user-supplied entropy

Syntax

[C#]
public static byte[] Bytes(
	int numBytes,
	string seedStr
)
[VB.NET]
Public Shared Function Bytes ( _
	numBytes As Integer, _
	seedStr As String _
) As Byte()

Parameters

numBytes
Required number of random bytes
seedStr
User-supplied entropy in string format

Return Value

Array of random bytes

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: RNG_Bytes

[Contents] [Index]

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

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