Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.HMACSHA384 Class Reference

Public Member Functions

 HMACSHA384 ()
 
 HMACSHA384 (byte[] key)
 
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 byte[] HashData (byte[] key, byte[] source)
 
static byte[] HashData (ReadOnlySpan< byte > key, ReadOnlySpan< byte > source)
 
static int HashData (ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination)
 
static bool TryHashData (ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten)
 
static new HMAC Create ()
 
static new? HMAC Create (string algorithmName)
 

Protected Member Functions

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)
 
override void Dispose (bool disposing)
 

Protected Attributes

byte[] KeyValue
 
int HashSizeValue
 
int State
 

Package Attributes

byte?[] HashValue
 

Properties

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

HMACCommon _hMacCommon
 
string _hashName
 
int _blockSizeValue = 64
 
bool _disposed
 

Detailed Description

Definition at line 7 of file HMACSHA384.cs.


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