Esempio n. 1
0
 private void method_0(string A_0)
 {
     this.rijndaelManaged_0           = new RijndaelManaged();
     this.class803_0                  = new Class803();
     this.rijndaelManaged_0.BlockSize = this.method_12().method_2() << 3;
     this.rijndaelManaged_0.KeySize   = this.method_12().method_3();
     this.rijndaelManaged_0.Mode      = (this.method_12().method_7() == BookmarkStart.b("瘴弶堸刺匼嘾⽀⑂ࡄ⡆ⵈ⹊์ॎፐ", 15)) ? CipherMode.CFB : CipherMode.CBC;
     this.rijndaelManaged_0.Padding   = PaddingMode.Zeros;
     this.byte_0 = this.method_7(A_0, this.method_12().method_9(), this.method_12().method_5());
 }
Esempio n. 2
0
 public Surface(
     DxfModel model,
     DxfLayout layout,
     GraphicsConfig config,
     Matrix4D transform,
     CharTriangulationCache charTriangulationCache)
     : base(model, layout, config)
 {
     this.class803_0 = new Class803(transform, Matrix3D.Identity, (ILineTypeScaler)Class624.Class626.class626_0);
     this.charTriangulationCache_0 = charTriangulationCache;
 }
Esempio n. 3
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)
        });
    }
Esempio n. 4
0
    void Interface13.imethod_1(Stream A_0, Stream A_1, Stream A_2, string A_3)
    {
        Class803     class2 = new Class803();
        BinaryWriter writer = new BinaryWriter(A_0);

        smethod_3(writer);
        byte[]           buffer    = this.method_1(0x10);
        ICryptoTransform transform = Class258.smethod_1(smethod_5(0x80, class2, A_3, buffer));

        this.method_0(transform, buffer).method_0(writer);
        smethod_4(transform, A_1, A_2);
    }
Esempio n. 5
0
 private static byte[] smethod_5(int A_0, Class803 A_1, string A_2, byte[] A_3)
 {
     byte[] buffer  = smethod_6(A_1, A_2, A_3);
     byte[] buffer2 = smethod_7(A_1, 0x36, buffer);
     byte[] buffer3 = smethod_7(A_1, 0x5c, buffer);
     byte[] array   = new byte[buffer2.Length + buffer3.Length];
     buffer2.CopyTo(array, 0);
     buffer3.CopyTo(array, buffer2.Length);
     byte[] destinationArray = new byte[A_0 / 8];
     Array.Copy(array, 0, destinationArray, 0, destinationArray.Length);
     return(destinationArray);
 }
Esempio n. 6
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));
        }
    }
Esempio n. 7
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));
 }
Esempio n. 8
0
    void Interface13.imethod_0(Stream A_0, Stream A_1, Stream A_2, string A_3)
    {
        A_0.Position = 8L;
        BinaryReader reader = new BinaryReader(A_0);
        Class1103    class2 = new Class1103(reader);
        Class534     class3 = new Class534(reader, true);

        smethod_0(class2);
        Class803         class4    = new Class803();
        ICryptoTransform transform = Class258.smethod_0(smethod_5(class2.int_1, class4, A_3, class3.byte_0));

        smethod_1(transform, class3);
        smethod_2(transform, A_1, A_2);
    }
Esempio n. 9
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));
 }
Esempio n. 10
0
 protected override void CopyFrom(DrawContext from)
 {
     base.CopyFrom(from);
     this.class803_0 = (Class803)((DrawContext.Surface)from).GetTransformer().Clone();
 }
Esempio n. 11
0
 protected Surface(DrawContext.Surface from)
     : base((DrawContext)from)
 {
     this.class803_0 = (Class803)from.GetTransformer().Clone();
     this.charTriangulationCache_0 = from.charTriangulationCache_0;
 }