Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
HMACCommon (string hashAlgorithmId, byte[] key, int blockSize) | |
void | ChangeKey (byte[] key) |
void | AppendHashData (byte[] data, int offset, int count) |
void | AppendHashData (ReadOnlySpan< byte > source) |
byte[] | FinalizeHashAndReset () |
int | FinalizeHashAndReset (Span< byte > destination) |
bool | TryFinalizeHashAndReset (Span< byte > destination, out int bytesWritten) |
int | GetCurrentHash (Span< byte > destination) |
void | Reset () |
void | Dispose (bool disposing) |
Package Functions | |
HMACCommon (string hashAlgorithmId, ReadOnlySpan< byte > key, int blockSize) | |
Properties | |
int | HashSizeInBits [get] |
int | HashSizeInBytes [get] |
byte[] | ActualKey [get, private set] |
Private Member Functions | |
byte[] | ChangeKeyImpl (ReadOnlySpan< byte > key) |
Private Attributes | |
readonly string | _hashAlgorithmId |
HashProvider | _hMacProvider |
volatile HashProvider | _lazyHashProvider |
readonly int | _blockSize |
Definition at line 6 of file HMACCommon.cs.