CryptoSys API Library Manual

Prf.Bytes Method

Generate output bytes using a pseudorandom function (PRF).

Syntax

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

Parameters

numBytes
Required number of output bytes.
message
Input message data.
key
Key.
customStr
Customization string (optional).
prfAlg
Type: PrfAlgorithm
PRF algorithm.

Return Value

Output data in byte array.

See Also

VB6/C equivalent: PRF_Bytes

[Contents] [Index]

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

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