Example #1
0
        // Token: 0x060008D9 RID: 2265 RVA: 0x00039FE0 File Offset: 0x000381E0
        public Class_239.NClass_1 tmethod_1552(Class_239.NClass_0 arg_0)
        {
            if (arg_0 == null)
            {
                throw new ArgumentNullException("authInfos");
            }
            this.cmethod_1584();
            this.field_9 = true;
            Class_264 arg_;

            if (!string.IsNullOrEmpty(arg_0.nprop_3))
            {
                arg_ = new Class_264(arg_0.nprop_0, arg_0.nprop_1, arg_0.nprop_3);
            }
            else
            {
                arg_ = new Class_264(arg_0.nprop_0, arg_0.nprop_1);
            }
            Class_265 class_ = this.lmethod_1578 <Class_265>(arg_, null);

            byte[] byteDizi_ = class_.prop_3.FromBase64();
            this.field_7 = Class_223.pmethod_1469(byteDizi_, arg_0.nprop_2);
            Class_219[] array  = Class_223.pmethod_1479(class_.prop_2.FromBase64(), this.field_7);
            byte[]      source = Class_223.smethod_1480(class_.prop_0.FromBase64().FromMPINumber(), array[0], array[1], array[2]);
            this.field_6 = source.Take(43).ToArray <byte>().ToBase64();
            return(new Class_239.NClass_1(this.field_6, this.field_7));
        }
Example #2
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;
        }