terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ EncryptData()

int System.Security.Cryptography.RijndaelManagedTransform.EncryptData ( byte[] inputBuffer,
int inputOffset,
int inputCount,
byte[] outputBuffer,
int outputOffset,
PaddingMode paddingMode,
bool fLast )
inlineprivate

Definition at line 212 of file RijndaelManagedTransform.cs.

213 {
215 string resourceString = Environment.GetResourceString("Input buffer contains insufficient data.");
216 if (this.m_encryptindex != null)
217 {
218 }
220 if (encryptKeyExpansion != null)
221 {
222 }
223 if (encryptKeyExpansion == null)
224 {
225 }
227 CipherMode cipherMode = this.m_cipherMode;
228 byte[] shiftRegister = this.m_shiftRegister;
230 int nb = this.m_Nb;
232 CipherMode cipherMode2 = this.m_cipherMode;
233 int nb2 = this.m_Nb;
235 CipherMode cipherMode3 = this.m_cipherMode;
237 int nb3 = this.m_Nb;
238 int nb4 = this.m_Nb;
239 CipherMode cipherMode4 = this.m_cipherMode;
240 if (this.m_lastBlockBuffer != null)
241 {
242 int nb5 = this.m_Nb;
247 }
251 byte[] shiftRegister2 = this.m_shiftRegister;
254 byte[] shiftRegister3 = this.m_shiftRegister;
256 RNGCryptoServiceProvider staticRandomNumberGenerator = Utils.StaticRandomNumberGenerator;
257 return "Length of the data to encrypt is invalid.";
258 }
class f__AnonymousType0<< Count > j__TPar
static string GetResourceString(string key)

References System.Environment.GetResourceString(), j__TPar, System.Security.Cryptography.RijndaelManagedTransform.m_blockSizeBytes, System.Security.Cryptography.RijndaelManagedTransform.m_cipherMode, System.Security.Cryptography.RijndaelManagedTransform.m_encryptindex, System.Security.Cryptography.RijndaelManagedTransform.m_encryptKeyExpansion, System.Security.Cryptography.RijndaelManagedTransform.m_inputBlockSize, System.Security.Cryptography.RijndaelManagedTransform.m_lastBlockBuffer, System.Security.Cryptography.RijndaelManagedTransform.m_Nb, System.Security.Cryptography.RijndaelManagedTransform.m_outputBlockSize, System.Security.Cryptography.RijndaelManagedTransform.m_shiftRegister, and System.Security.Cryptography.Utils.StaticRandomNumberGenerator.