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

◆ Derive()

byte[] Mono.Security.X509.PKCS12.DeriveBytes.Derive ( byte[] diversifier,
int n )
inlineprivate

Definition at line 1375 of file PKCS12.cs.

1376 {
1377 int num = 1;
1378 string hashName = this._hashName;
1379 if (num == 0)
1380 {
1381 }
1382 HashAlgorithm hashAlgorithm = PKCS1.CreateFromName(hashName);
1383 byte[] salt = this._salt;
1384 if (salt != null && salt != null)
1385 {
1386 if (salt != null)
1387 {
1388 byte[] salt2 = this._salt;
1389 }
1390 }
1391 byte[] password = this._password;
1392 if (password != null && password != null)
1393 {
1394 if (password != null)
1395 {
1396 byte[] password2 = this._password;
1397 }
1398 }
1399 long num2 = 0L;
1400 long num3 = 0L;
1401 long num4 = 0L;
1402 int num5 = hashAlgorithm.TransformBlock(diversifier, (int)num3, (int)num2, diversifier, (int)num4);
1403 int iterations = this._iterations;
1404 byte[] hashValue = hashAlgorithm.HashValue;
1405 if (this._iterations != 0)
1406 {
1407 }
1408 byte[] array;
1409 return array;
1410 }
class f__AnonymousType0<< Count > j__TPar
static HashAlgorithm CreateFromName(string name)
Definition PKCS1.cs:124
int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)

References Mono.Security.X509.PKCS12.DeriveBytes._hashName, Mono.Security.X509.PKCS12.DeriveBytes._iterations, Mono.Security.X509.PKCS12.DeriveBytes._password, Mono.Security.X509.PKCS12.DeriveBytes._salt, System.array, Mono.Security.Cryptography.PKCS1.CreateFromName(), System.Security.Cryptography.HashAlgorithm.HashValue, j__TPar, System.L, and System.Security.Cryptography.HashAlgorithm.TransformBlock().