|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| SHA384Managed () | |
| override void | Initialize () |
| 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) |
Static Public Member Functions | |
| static new SHA384 | Create () |
| static new? SHA384 | Create (string hashName) |
| static byte[] | HashData (byte[] source) |
| static byte[] | HashData (ReadOnlySpan< byte > source) |
| static int | HashData (ReadOnlySpan< byte > source, Span< byte > destination) |
| static bool | TryHashData (ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten) |
Protected Member Functions | |
| override void | HashCore (byte[] array, int ibStart, int cbSize) |
| override void | HashCore (ReadOnlySpan< byte > source) |
| override byte[] | HashFinal () |
| override bool | TryHashFinal (Span< byte > destination, out int bytesWritten) |
| override void | Dispose (bool disposing) |
Protected Attributes | |
| int | HashSizeValue |
| int | State |
Package Attributes | |
| byte?[] | HashValue |
Properties | |
| 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 | |
| readonly HashProvider | _hashProvider |
| bool | _disposed |
Definition at line 8 of file SHA384Managed.cs.