Interface ICryptoRandom
Defines methods for generating random data.
Namespace: SuperNet.Netcode.Crypto
Assembly: cs.temp.dll.dll
Syntax
public interface ICryptoRandom : IDisposable
Methods
GetBytes(Byte[], Int32, Int32)
Generate cryptographically secure random data.
This method is thread safe.
Declaration
void GetBytes(byte[] output, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | output | Output buffer to write to. |
System.Int32 | offset | Output offset to write to. |
System.Int32 | count | Number of bytes to write. |