Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.HMAC Class Referenceabstract

Public Member Functions

override void Initialize ()
 
void Dispose ()
 
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 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 HMAC Create ()
 
static new? HMAC Create (string algorithmName)
 

Protected Member Functions

override void Dispose (bool disposing)
 
override void HashCore (byte[] rgb, int ib, int cb)
 
override void HashCore (ReadOnlySpan< byte > source)
 
override byte[] HashFinal ()
 
override bool TryHashFinal (Span< byte > destination, out int bytesWritten)
 

Protected Attributes

byte[] KeyValue
 
int HashSizeValue
 
int State
 

Package Attributes

byte?[] HashValue
 

Properties

int BlockSizeValue [get, set]
 
string HashName [get, set]
 
override 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

string _hashName
 
int _blockSizeValue = 64
 
bool _disposed
 

Detailed Description

Definition at line 5 of file HMAC.cs.


The documentation for this class was generated from the following file: