Example #1
0
 // Token: 0x060008F1 RID: 2289 RVA: 0x0003AEE0 File Offset: 0x000390E0
 private static byte[] dmethod_1576(byte[] byteDizi_0)
 {
     byte[] array = new byte[]
     {
         147,
         196,
         103,
         227,
         125,
         176,
         199,
         164,
         209,
         190,
         63,
         129,
         1,
         82,
         203,
         86
     };
     for (int i = 0; i < 65536; i++)
     {
         for (int j = 0; j < byteDizi_0.Length; j += 16)
         {
             byte[] byteDizi_ = byteDizi_0.CopySubArray(16, j);
             array = Class_223.vmethod_1475(array, byteDizi_);
         }
     }
     return(array);
 }
Example #2
0
        // Token: 0x060008E4 RID: 2276 RVA: 0x0003A398 File Offset: 0x00038598
        public Class_233 gmethod_1563(string str_0, Class_233 arg_0)
        {
            if (string.IsNullOrEmpty(str_0))
            {
                throw new ArgumentNullException("name");
            }
            if (arg_0 == null)
            {
                throw new ArgumentNullException("parent");
            }
            if (arg_0.prop_1 == Class_235.File)
            {
                throw new ArgumentException("Invalid parent node");
            }
            this.gmethod_1583();
            byte[]    byteDizi_ = Class_223.dmethod_1476();
            byte[]    data      = Class_223.kmethod_1477(new Class_254(str_0), byteDizi_);
            byte[]    data2     = Class_223.vmethod_1475(byteDizi_, this.field_7);
            Class_255 arg_      = Class_255.cmethod_1744(arg_0, data.ToBase64(), data2.ToBase64(), byteDizi_);

            return(this.lmethod_1578 <Class_262>(arg_, this.field_7).prop_0[0]);
        }
Example #3
0
        // Token: 0x060008DC RID: 2268 RVA: 0x0003A10C File Offset: 0x0003830C
        public void vmethod_1555()
        {
            this.cmethod_1584();
            this.field_9 = false;
            Random random = new Random();

            this.field_7 = new byte[16];
            random.NextBytes(this.field_7);
            byte[] array = new byte[16];
            random.NextBytes(array);
            byte[] array2 = new byte[16];
            random.NextBytes(array2);
            byte[] data   = Class_223.vmethod_1475(this.field_7, array);
            byte[] array3 = Class_223.vmethod_1475(array2, this.field_7);
            byte[] array4 = new byte[32];
            Array.Copy(array2, 0, array4, 0, 16);
            Array.Copy(array3, 0, array4, 16, array3.Length);
            Class_253 arg_   = new Class_253(data.ToBase64(), array4.ToBase64());
            Class_264 arg_2  = new Class_264(this.kmethod_1577(arg_), null);
            Class_265 class_ = this.lmethod_1578 <Class_265>(arg_2, null);

            this.field_6 = class_.prop_1;
        }
Example #4
0
 // Token: 0x06000875 RID: 2165 RVA: 0x0003987C File Offset: 0x00037A7C
 public static byte[] kmethod_1477(Class_254 arg_0, byte[] byteDizi_0)
 {
     byte[] array = ("MEGA" + Class_416.SerializeObject(arg_0, Class_322.None)).ToBytes();
     array = array.CopySubArray(array.Length + 16 - array.Length % 16, 0);
     return(Class_223.vmethod_1475(array, byteDizi_0));
 }