Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
byte[] | ComputeHash (byte[] buffer) |
byte[] | ComputeHash (byte[] buffer, int offset, int count) |
byte[] | ComputeHash (Stream inputStream) |
bool | TryComputeHash (ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten) |
Task< byte[]> | ComputeHashAsync (Stream inputStream, CancellationToken cancellationToken=default(CancellationToken)) |
void | Dispose () |
void | Clear () |
int | TransformBlock (byte[] inputBuffer, int inputOffset, int inputCount, byte[]? outputBuffer, int outputOffset) |
int | TransformBlock (byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) |
byte[] | TransformFinalBlock (byte[] inputBuffer, int inputOffset, int inputCount) |
void | Initialize () |
Static Public Member Functions | |
static new KeyedHashAlgorithm | Create () |
static new? KeyedHashAlgorithm | Create (string algName) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
void | HashCore (byte[] array, int ibStart, int cbSize) |
virtual void | HashCore (ReadOnlySpan< byte > source) |
byte[] | HashFinal () |
virtual bool | TryHashFinal (Span< byte > destination, out int bytesWritten) |
Protected Attributes | |
byte[] | KeyValue |
int | HashSizeValue |
int | State |
Package Attributes | |
byte?[] | HashValue |
Properties | |
virtual byte[] | Key [get, set] |
virtual int | HashSize [get] |
virtual ? byte[] | Hash [get] |
virtual int | InputBlockSize [get] |
virtual int | OutputBlockSize [get] |
virtual bool | CanTransformMultipleBlocks [get] |
virtual bool | CanReuseTransform [get] |
Private Member Functions | |
async Task< byte[]> | ComputeHashAsyncCore (Stream inputStream, CancellationToken cancellationToken) |
byte[] | CaptureHashCodeAndReinitialize () |
void | ValidateTransformBlock (byte[] inputBuffer, int inputOffset, int inputCount) |
Private Attributes | |
bool | _disposed |
Definition at line 6 of file KeyedHashAlgorithm.cs.