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