Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | AppendData (byte[] data) |
void | AppendData (byte[] data, int offset, int count) |
void | AppendData (ReadOnlySpan< byte > data) |
byte[] | GetHashAndReset () |
int | GetHashAndReset (Span< byte > destination) |
bool | TryGetHashAndReset (Span< byte > destination, out int bytesWritten) |
byte[] | GetCurrentHash () |
int | GetCurrentHash (Span< byte > destination) |
bool | TryGetCurrentHash (Span< byte > destination, out int bytesWritten) |
void | Dispose () |
Static Public Member Functions | |
static IncrementalHash | CreateHash (HashAlgorithmName hashAlgorithm) |
static IncrementalHash | CreateHMAC (HashAlgorithmName hashAlgorithm, byte[] key) |
static IncrementalHash | CreateHMAC (HashAlgorithmName hashAlgorithm, ReadOnlySpan< byte > key) |
Properties | |
int | HashLengthInBytes [get] |
HashAlgorithmName | AlgorithmName [get] |
Private Member Functions | |
IncrementalHash (HashAlgorithmName name, HashProvider hash) | |
IncrementalHash (HashAlgorithmName name, HMACCommon hmac) | |
int | GetHashAndResetCore (Span< byte > destination) |
int | GetCurrentHashCore (Span< byte > destination) |
Private Attributes | |
readonly HashAlgorithmName | _algorithmName |
HashProvider | _hash |
HMACCommon | _hmac |
bool | _disposed |
Definition at line 6 of file IncrementalHash.cs.