예제 #1
0
    internal bool method_3(string A_0)
    {
        Class187 class2 = this.class62_0.method_4().method_0();
        Class190 class3 = this.class62_0.method_4().method_4().method_0();
        bool     flag   = this.method_0();

        byte[]        buffer    = new byte[] { 0xfe, 0xa7, 210, 0x76, 0x3b, 0x4b, 0x9e, 0x79 };
        byte[]        buffer2   = this.class299_0.method_8(A_0, class3.method_16(), buffer, class3.method_6() >> 3, class3.method_0(), flag);
        byte[]        buffer3   = this.method_5(class3.method_18(), class3.method_4(), buffer2, class3.method_16(), class3.method_2());
        byte[]        buffer4   = new byte[] { 0xd7, 170, 15, 0x6d, 0x30, 0x61, 0x34, 0x4e };
        byte[]        buffer5   = this.class299_0.method_8(A_0, class3.method_16(), buffer4, class3.method_6() >> 3, class3.method_0(), flag);
        byte[]        buffer6   = this.method_5(class3.method_20(), class3.method_4(), buffer5, class3.method_16(), class3.method_8());
        HashAlgorithm algorithm = null;

        if (flag)
        {
            algorithm = new SHA512Managed();
        }
        else
        {
            algorithm = new SHA1Managed();
        }
        byte[] buffer7 = algorithm.ComputeHash(buffer3);
        bool   flag2   = this.class299_0.method_15(buffer6, buffer7);

        byte[] buffer8 = new byte[] { 20, 110, 11, 0xe7, 0xab, 0xac, 0xd0, 0xd6 };
        byte[] buffer9 = this.class299_0.method_8(A_0, class3.method_16(), buffer8, class3.method_6() >> 3, class3.method_0(), flag);
        this.byte_0 = this.method_5(class3.method_22(), class3.method_4(), buffer9, class3.method_16(), class2.method_4() / 8);
        return(flag2);
    }
예제 #2
0
    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);
        }
    }
예제 #3
0
파일: Class184.cs 프로젝트: uwx/Open-GHTCP
        public void method_6(int int20)
        {
            if (int20 >= 0 && int20 <= 9)
            {
                _int15 = Int1[int20];
                _int13 = Int2[int20];
                _int14 = Int3[int20];
                _int12 = Int4[int20];
                if (Int5[int20] != _int16)
                {
                    switch (_int16)
                    {
                    case 0:
                        if (_int10 > _int9)
                        {
                            _class1900.method_3(_byte0, _int9, _int10 - _int9, false);
                            _int9 = _int10;
                        }
                        method_8();
                        break;

                    case 1:
                        if (_int10 > _int9)
                        {
                            _class1900.method_4(_byte0, _int9, _int10 - _int9, false);
                            _int9 = _int10;
                        }
                        break;

                    case 2:
                        if (_bool0)
                        {
                            _class1900.method_6(_byte0[_int10 - 1] & 255);
                        }
                        if (_int10 > _int9)
                        {
                            _class1900.method_4(_byte0, _int9, _int10 - _int9, false);
                            _int9 = _int10;
                        }
                        _bool0 = false;
                        _int8  = 2;
                        break;
                    }
                    _int16 = Int5[int20];
                }
                return;
            }
            throw new ArgumentOutOfRangeException("level");
        }