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

◆ GenerateKeyPair() [2/2]

void Mono.Security.Cryptography.RSAManaged.GenerateKeyPair ( )
inlineprivate

Definition at line 25 of file RSAManaged.cs.

26 {
27 BigInteger bigInteger = 65537U;
32 if (length != 0U)
33 {
34 uint[] data = bigInteger2.data;
35 return;
36 }
38 if (bigInteger3 == null)
39 {
40 }
44 if (length2 != 0U)
45 {
46 uint[] data2 = bigInteger4.data;
47 }
49 if (length2 == 0U)
50 {
51 }
52 bool flag = bigInteger5 != bigInteger4;
55 if (length2 == 0U)
56 {
57 }
60 int num = bigInteger8.BitCount();
81 if (keyGenerated != null)
82 {
83 IntPtr invoke_impl = keyGenerated.invoke_impl;
84 IntPtr method_code = keyGenerated.method_code;
85 IntPtr method = keyGenerated.method;
86 return;
87 }
88 }
class f__AnonymousType0<< Count > j__TPar
static uint modInverse(BigInteger bi, uint modulus)
static BigInteger[] multiByteDivide(BigInteger bi1, BigInteger bi2)
static BigInteger GeneratePseudoPrime(int bits)
RSAManaged.KeyGeneratedEventHandler KeyGenerated

References System.array, Mono.Math.BigInteger.BitCount(), Mono.Security.Cryptography.RSAManaged.d, Mono.Security.Cryptography.RSAManaged.e, Mono.Math.BigInteger.GeneratePseudoPrime(), j__TPar, Mono.Security.Cryptography.RSAManaged.KeyGenerated, Mono.Math.BigInteger.length, System.length, Mono.Math.BigInteger.Kernel.modInverse(), Mono.Math.BigInteger.Kernel.multiByteDivide(), Mono.Security.Cryptography.RSAManaged.p, Mono.Security.Cryptography.RSAManaged.q, and System.U.