Generate output bytes using a pseudorandom function (PRF).
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static byte[] Bytes(
int numBytes,
byte[] message,
byte[] key,
string customStr,
PrfAlgorithm prfAlg
)
Public Shared Function Bytes (
numBytes As Integer,
message As Byte(),
key As Byte(),
customStr As String,
prfAlg As PrfAlgorithm
) As Byte()
Parameters
- numBytes Int32
- Required number of output bytes.
- message Byte
- Input message data.
- key Byte
- Key.
- customStr String
- Customization string (optional).
- prfAlg PrfAlgorithm
- PRF algorithm.
Return Value
ByteOutput data in byte array.
See Also