CryptoSys PKI Pro Manual

Rng.Bytes(Int32, String) Method

Generate an array of random bytes with user-supplied entropy.

Syntax

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

Parameters

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

Return Value

Byte
Array of random bytes

See Also

VB6/C equivalent: RNG_Bytes

[Contents] [Index]

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

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.