Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Internal.Cryptography.HashProviderCng Class Referencesealed

Public Member Functions

 HashProviderCng (string hashAlgId, byte[] key)
 
override void AppendHashData (ReadOnlySpan< byte > source)
 
override int FinalizeHashAndReset (Span< byte > destination)
 
override int GetCurrentHash (Span< byte > destination)
 
override void Dispose (bool disposing)
 
override void Reset ()
 
 HashProviderCng (string hashAlgId, byte[] key)
 
override void AppendHashData (ReadOnlySpan< byte > source)
 
override int FinalizeHashAndReset (Span< byte > destination)
 
override void Dispose (bool disposing)
 
override void Reset ()
 
void AppendHashData (byte[] data, int offset, int count)
 
byte[] FinalizeHashAndReset ()
 
bool TryFinalizeHashAndReset (Span< byte > destination, out int bytesWritten)
 
bool TryFinalizeHashAndReset (Span< byte > destination, out int bytesWritten)
 
void Dispose ()
 

Package Functions

 HashProviderCng (string hashAlgId, ReadOnlySpan< byte > key, bool isHmac)
 
 HashProviderCng (string hashAlgId, ReadOnlySpan< byte > key, bool isHmac)
 

Properties

override int HashSizeInBytes [get]
 

Private Member Functions

void DestroyHash ()
 
void DestroyHash ()
 

Private Attributes

readonly SafeBCryptAlgorithmHandle _hAlgorithm
 
SafeBCryptHashHandle _hHash
 
byte[] _key
 
readonly bool _reusable
 
readonly int _hashSize
 
bool _running
 
readonly Microsoft.Win32.SafeHandles.SafeBCryptAlgorithmHandle _hAlgorithm
 
Microsoft.Win32.SafeHandles.SafeBCryptHashHandle _hHash
 

Detailed Description

Definition at line 6 of file HashProviderCng.cs.


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