CryptoSys API Library Manual

Rng.KeyHex Method (Int32, String)

Generates a random key in hex format

Syntax

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

Parameters

numBytes
Required number of random bytes
seedStr
User-supplied entropy in string format. Set as an empty string "" to ignore.

Return Value

Random bytes in hex format

See Also

VB6/C equivalent: RNG_KeyHex

[Contents] [Index]

[PREV: Rng.KeyHex Method (Int32, Byte)...]   [Contents]   [Index]   
   [NEXT: Rng.MakeSeedFile Method (String, Rng.Strength)...]

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