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

◆ VerifySignature() [1/2]

override bool Mono.Security.Cryptography.DSAManaged.VerifySignature ( byte[] rgbHash,
byte[] rgbSignature )
inline

Definition at line 291 of file DSAManaged.cs.

292 {
293 if (!this.m_disposed)
294 {
295 if (rgbHash == null)
296 {
297 goto IL_00E1;
298 }
299 if (rgbSignature == null)
300 {
301 return "invalid hash length" != null;
302 }
303 if (this.keypairGenerated)
304 {
306 BigInteger bigInteger2 = this.q;
308 BigInteger bigInteger4 = this.q;
309 BigInteger bigInteger5 = this.q;
310 BigInteger bigInteger6 = this.q;
313 BigInteger bigInteger8 = this.q;
328 bool flag;
329 return flag;
330 }
331 }
332 string text = Locale.GetText("Keypair was disposed");
333 IL_00E1:
334 return "rgbHash" != null;
335 }
class f__AnonymousType0<< Count > j__TPar
static string GetText(string msg)
Definition Locale.cs:8
static BigInteger[] multiByteDivide(BigInteger bi1, BigInteger bi2)
BigInteger ModPow(BigInteger exp, BigInteger n)

References System.array, Mono.Security.Cryptography.DSAManaged.g, Locale.GetText(), j__TPar, Mono.Security.Cryptography.DSAManaged.keypairGenerated, Mono.Security.Cryptography.DSAManaged.m_disposed, Mono.Math.BigInteger.ModPow(), Mono.Math.BigInteger.Kernel.multiByteDivide(), Mono.Security.Cryptography.DSAManaged.p, Mono.Security.Cryptography.DSAManaged.q, System.text, and Mono.Security.Cryptography.DSAManaged.y.