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

Public Member Functions

 BasicSymmetricCipherCsp (int algId, CipherMode cipherMode, int blockSizeInBytes, byte[] key, int effectiveKeyLength, bool addNoSaltFlag, byte[] iv, bool encrypting, int feedbackSize, int paddingSizeInBytes)
 
override int Transform (ReadOnlySpan< byte > input, Span< byte > output)
 
override int TransformFinal (ReadOnlySpan< byte > input, Span< byte > output)
 
void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

int BlockSizeInBytes [get, private set]
 
int PaddingSizeInBytes [get, private set]
 
byte[] IV [get, private set]
 

Private Member Functions

void Reset ()
 
int Transform (ReadOnlySpan< byte > input, Span< byte > output, bool isFinal)
 

Static Private Member Functions

static SafeKeyHandle ImportCspBlob (SafeProvHandle safeProvHandle, int algId, byte[] rawKey, bool addNoSaltFlag)
 
static SafeProvHandle AcquireSafeProviderHandle ()
 

Private Attributes

readonly bool _encrypting
 
SafeProvHandle _hProvider
 
SafeKeyHandle _hKey
 

Detailed Description

Definition at line 7 of file BasicSymmetricCipherCsp.cs.


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