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

◆ CreateSignature()

override byte[] Mono.Security.Cryptography.DSAManaged.CreateSignature ( byte[] rgbHash)
inline

Definition at line 245 of file DSAManaged.cs.

246 {
247 bool disposed = this.m_disposed;
248 if (!disposed)
249 {
250 if (rgbHash == null)
251 {
252 goto IL_00CB;
253 }
254 if (!disposed)
255 {
256 this.Generate();
257 }
258 BigInteger bigInteger = this.x;
259 if (!disposed)
260 {
261 }
262 if (!disposed)
263 {
264 }
266 BigInteger bigInteger3 = this.q;
267 if (!disposed)
268 {
269 }
272 BigInteger bigInteger4 = this.g;
273 BigInteger bigInteger5 = this.p;
275 BigInteger bigInteger7 = this.q;
276 BigInteger bigInteger8 = this.q;
283 byte[] bytes = bigInteger7.GetBytes();
284 }
285 string text = Locale.GetText("Keypair was disposed");
286 IL_00CB:
287 return "invalid hash length";
288 }
class f__AnonymousType0<< Count > j__TPar
static string GetText(string msg)
Definition Locale.cs:8
static uint modInverse(BigInteger bi, uint modulus)
static BigInteger.Sign Compare(BigInteger bi1, BigInteger bi2)
static BigInteger[] multiByteDivide(BigInteger bi1, BigInteger bi2)
BigInteger ModPow(BigInteger exp, BigInteger n)
void Randomize(RandomNumberGenerator rng)
static BigInteger GenerateRandom(int bits, RandomNumberGenerator rng)

References System.array, Mono.Math.BigInteger.Kernel.Compare(), Mono.Security.Cryptography.DSAManaged.g, Mono.Security.Cryptography.DSAManaged.Generate(), Mono.Math.BigInteger.GenerateRandom(), Mono.Math.BigInteger.GetBytes(), Locale.GetText(), j__TPar, Mono.Security.Cryptography.DSAManaged.m_disposed, Mono.Math.BigInteger.Kernel.modInverse(), Mono.Math.BigInteger.ModPow(), Mono.Math.BigInteger.Kernel.multiByteDivide(), Mono.Security.Cryptography.DSAManaged.p, Mono.Security.Cryptography.DSAManaged.q, Mono.Math.BigInteger.Randomize(), System.text, and Mono.Security.Cryptography.DSAManaged.x.