private void method_1(Stream A_0, Interface61 A_1, string A_2) { SHA1 sha = new SHA1Managed(); using (Stream1 stream = A_1.imethod_2(BookmarkStart.b("欭帯儱䘳伵䠷丹唻儽⸿ୁ⩃⁅❇", 8))) { Class62 class2 = new Class62(); class2.method_1(0x40004); class2.method_3(0x40); Class187 class3 = class2.method_4().method_0(); this.method_3(class3); class3.method_15(this.method_10(class3.method_0())); Class190 class4 = class2.method_4().method_4().method_0(); this.method_4(class4); class4.method_17(this.method_10(class4.method_2())); byte[] buffer = this.method_10(class4.method_2()); byte[] buffer2 = new byte[] { 0xfe, 0xa7, 210, 0x76, 0x3b, 0x4b, 0x9e, 0x79 }; byte[] buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer2, class4.method_6() >> 3, class4.method_0()); class4.method_19(this.method_11(buffer, class4.method_4(), buffer3, class4.method_16())); byte[] buffer4 = new byte[] { 0xd7, 170, 15, 0x6d, 0x30, 0x61, 0x34, 0x4e }; buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer4, class4.method_6() >> 3, class4.method_0()); class4.method_21(this.method_11(sha.ComputeHash(buffer), class4.method_4(), buffer3, class4.method_16())); byte[] buffer5 = this.method_10(class3.method_4() / 8); byte[] buffer6 = new byte[] { 20, 110, 11, 0xe7, 0xab, 0xac, 0xd0, 0xd6 }; buffer3 = this.class299_0.method_9(A_2, class4.method_16(), buffer6, class4.method_6() >> 3, class4.method_0()); class4.method_23(this.method_11(buffer5, class4.method_4(), buffer3, class4.method_16())); Class188 class5 = class2.method_4().method_2(); byte[] buffer7 = new byte[] { 0x5f, 0xb2, 0xad, 1, 12, 0xb9, 0xe1, 0xf6 }; byte[] buffer8 = sha.ComputeHash(this.class299_0.method_12(class3.method_14(), buffer7)); buffer8 = this.class299_0.method_13(buffer8, class3.method_2(), 0); byte[] buffer9 = this.method_10(class3.method_6()); class5.method_1(this.method_11(buffer9, class3.method_2(), buffer5, buffer8)); byte[] buffer10 = this.method_2(A_0, A_1, class3, buffer5); HMACSHA1 hmacsha = new HMACSHA1 { Key = this.class299_0.method_13(buffer9, class3.method_6(), 0) }; byte[] buffer11 = new byte[] { 160, 0x67, 0x7f, 2, 0xb2, 0x2c, 0x84, 0x33 }; byte[] buffer12 = sha.ComputeHash(this.class299_0.method_12(class3.method_14(), buffer11)); buffer12 = this.class299_0.method_13(buffer12, class3.method_2(), 0); class5.method_3(this.method_11(hmacsha.ComputeHash(buffer10), class3.method_2(), buffer5, buffer12)); class2.method_5(stream); } }
public int method_3(Class187 class187_0, int int_2) { int_2 = Math.Min(Math.Min(int_2, 32768 - this.int_1), class187_0.method_3()); int num = 32768 - this.int_0; int num2; if (int_2 > num) { num2 = class187_0.method_6(this.byte_0, this.int_0, num); if (num2 == num) { num2 += class187_0.method_6(this.byte_0, 0, int_2 - num); } } else { num2 = class187_0.method_6(this.byte_0, this.int_0, int_2); } this.int_0 = (this.int_0 + num2 & 32767); this.int_1 += num2; return(num2); }
public int method_3(Class187 class1870, int int2) { int2 = Math.Min(Math.Min(int2, 32768 - _int1), class1870.method_3()); var num = 32768 - _int0; int num2; if (int2 > num) { num2 = class1870.method_6(_byte0, _int0, num); if (num2 == num) { num2 += class1870.method_6(_byte0, 0, int2 - num); } } else { num2 = class1870.method_6(_byte0, _int0, int2); } _int0 = (_int0 + num2 & 32767); _int1 += num2; return(num2); }
private bool method_4(byte[] A_0) { Class187 class2 = this.class62_0.method_4().method_0(); Class188 class3 = this.class62_0.method_4().method_2(); bool flag = this.method_0(); HashAlgorithm algorithm = null; if (flag) { algorithm = new SHA512Managed(); } else { algorithm = new SHA1Managed(); } byte[] buffer = new byte[] { 0x5f, 0xb2, 0xad, 1, 12, 0xb9, 0xe1, 0xf6 }; byte[] buffer2 = algorithm.ComputeHash(this.class299_0.method_12(class2.method_14(), buffer)); buffer2 = this.class299_0.method_13(buffer2, class2.method_2(), 0); byte[] buffer3 = this.method_5(class3.method_0(), class2.method_2(), this.byte_0, buffer2, class2.method_6()); HMAC hmac = null; if (flag) { hmac = new HMACSHA512(); } else { hmac = new HMACSHA1(); } hmac.Key = this.class299_0.method_13(buffer3, class2.method_6(), 0); byte[] buffer4 = hmac.ComputeHash(A_0); byte[] buffer5 = new byte[] { 160, 0x67, 0x7f, 2, 0xb2, 0x2c, 0x84, 0x33 }; byte[] buffer6 = algorithm.ComputeHash(this.class299_0.method_12(class2.method_14(), buffer5)); buffer6 = this.class299_0.method_13(buffer6, class2.method_2(), 0); byte[] buffer7 = this.method_5(class3.method_2(), class2.method_2(), this.byte_0, buffer6, class2.method_6()); return(this.class299_0.method_15(buffer4, buffer7)); }