RngBytes(Int32, Byte) Method |
Generate an array of random bytes with user-supplied entropy.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] Bytes(
int numBytes,
byte[] arrSeed
)
Public Shared Function Bytes (
numBytes As Integer,
arrSeed As Byte()
) As Byte()
Parameters
- numBytes Int32
- Required number of random bytes
- arrSeed Byte
- User-supplied entropy in byte format
Return Value
ByteArray of random bytes
See Also