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()); }
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; }
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) }); }
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); }
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); }
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)); } }
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)); }
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); }
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)); }
protected override void CopyFrom(DrawContext from) { base.CopyFrom(from); this.class803_0 = (Class803)((DrawContext.Surface)from).GetTransformer().Clone(); }
protected Surface(DrawContext.Surface from) : base((DrawContext)from) { this.class803_0 = (Class803)from.GetTransformer().Clone(); this.charTriangulationCache_0 = from.charTriangulationCache_0; }