예제 #1
0
    private Class534 method_0(ICryptoTransform A_0, byte[] A_1)
    {
        Class803 class2 = new Class803();

        byte[] buffer           = this.method_1(0x10);
        byte[] sourceArray      = class2.method_0(buffer);
        byte[] destinationArray = new byte[0x20];
        Array.Copy(sourceArray, destinationArray, sourceArray.Length);
        return(new Class534 {
            byte_0 = A_1, int_0 = 0x10, int_1 = 0x20, byte_1 = A_0.TransformFinalBlock(buffer, 0, buffer.Length), byte_2 = A_0.TransformFinalBlock(destinationArray, 0, destinationArray.Length)
        });
    }
예제 #2
0
    private static void smethod_1(ICryptoTransform A_0, Class534 A_1)
    {
        int      num    = 0x11;
        Class803 class2 = new Class803();

        byte[] buffer  = A_0.TransformFinalBlock(A_1.byte_1, 0, A_1.byte_1.Length);
        byte[] buffer2 = A_0.TransformFinalBlock(A_1.byte_2, 0, A_1.byte_2.Length);
        byte[] buffer3 = class2.method_0(buffer);
        if (!Class85.smethod_11(buffer2, buffer3, A_1.int_1))
        {
            throw new Exception(BookmarkStart.b("挶儸帺ᴼ嬾⹀⁂い⩆ⱈ╊㥌潎⅐㉒♔⑖⹘㑚⽜㭞䅠੢ᙤ䝦hժ๬nͰŲၴᑶ൸啺", num));
        }
    }
예제 #3
0
 private static byte[] smethod_7(Class803 A_0, byte A_1, byte[] A_2)
 {
     byte[] buffer = new byte[0x40];
     for (int i = 0; i < buffer.Length; i++)
     {
         buffer[i] = A_1;
     }
     for (int j = 0; j < A_2.Length; j++)
     {
         buffer[j] = (byte)(buffer[j] ^ A_2[j]);
     }
     return(A_0.method_0(buffer));
 }
예제 #4
0
 private static byte[] smethod_6(Class803 A_0, string A_1, byte[] A_2)
 {
     if (A_1 == null)
     {
         A_1 = "";
     }
     byte[] bytes = Encoding.Unicode.GetBytes(A_1);
     byte[] array = new byte[A_2.Length + bytes.Length];
     A_2.CopyTo(array, 0);
     bytes.CopyTo(array, A_2.Length);
     byte[] buffer2 = A_0.method_0(array);
     byte[] buffer  = new byte[4 + buffer2.Length];
     for (int i = 0; i < 0xc350; i++)
     {
         Class567.smethod_0(i, buffer, 0);
         buffer2.CopyTo(buffer, 4);
         buffer2 = A_0.method_0(buffer);
     }
     buffer2.CopyTo(buffer, 0);
     Class567.smethod_0(0, buffer, buffer2.Length);
     return(A_0.method_0(buffer));
 }