namespace PixelSecurity.Core.Encryption
{

	// [TypeInfo RVA: 0x0]
	public class MD5 : Object
	{
		// RVA: 0x32B0ACC VA: 0x781899BACC
		public void .ctor();
		/*
		 *   return;
		 */
		// RVA: 0x32B0AD4 VA: 0x781899BAD4
		public string EncodeString(string plane);
		/*
		 *   undefined *puVar1;
		 *   long *this_00;
		 *   long *plVar2;
		 *   void *pvVar3;
		 *   void *value;
		 *   undefined8 *puVar4;
		 *   ulong uVar5;
		 *   long lVar6;
		 *   int *piVar7;
		 *   ulong uVar8;
		 *
		 *   if ((bRam000000000754af9d & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_StringBuilder_6FC2160);
		 *     func_0x031fdc8c(PTR_DAT_070c6838);
		 *     bRam000000000754af9d = 1;
		 *   }
		 *   this_00 = (long *)System.Security.Cryptography.MD5.Create();
		 *   plVar2 = System.Text.Encoding.get_UTF8();
		 *   if (plVar2 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar3 = (void *)(**(code **)(*plVar2 + 0x268))(plVar2,plane,*(undefined8 *)(*plVar2 + 0x270));
		 *   if (this_00 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar3 = System.Security.Cryptography.HashAlgorithm.ComputeHash(this_00,pvVar3);
		 *   plVar2 = (long *)func_0x031fdf24(*(undefined8 *)typeinfo_ptr_mscorlib_StringBuilder_6FC2160);
		 *   System.Text.StringBuilder..ctor(plVar2);
		 *   puVar1 = PTR_DAT_070c6838;
		 *   if (pvVar3 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if (0 < (int)*(ulong *)((long)pvVar3 + 0x18)) {
		 *     uVar8 = 0;
		 *     uVar5 = *(ulong *)((long)pvVar3 + 0x18) & 0xffffffff;
		 *     do {
		 *       if (uVar5 <= uVar8) {
		 *         IL2CPP.ThrowIndexOutOfRangeException();
		 *       }
		 *       value = System.Byte.ToString((void *)((long)pvVar3 + uVar8 + 0x20),*(void **)puVar1);
		 *       if (plVar2 == null) {
		 *         IL2CPP.ThrowNullReferenceException();
		 *       }
		 *       System.Text.StringBuilder.Append(plVar2,value);
		 *       uVar5 = (ulong)*(uint *)((long)pvVar3 + 0x18);
		 *       uVar8 = uVar8 + 1;
		 *     } while ((long)uVar8 < (long)(int)*(uint *)((long)pvVar3 + 0x18));
		 *   }
		 *   if (plVar2 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar3 = (void *)(**(code **)(*plVar2 + 0x168))(plVar2,*(undefined8 *)(*plVar2 + 0x170));
		 *   if (this_00 != null) {
		 *     lVar6 = *this_00;
		 *     uVar8 = (ulong)*(ushort *)(lVar6 + 0x12e);
		 *     if (uVar8 != 0) {
		 *       piVar7 = (int *)(*(long *)(lVar6 + 0xb0) + 8);
		 *       do {
		 *         if (*(long *)(piVar7 + -2) == *(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0) {
		 *           puVar4 = (undefined8 *)(lVar6 + (long)*piVar7 * 0x10 + 0x138);
		 *           goto LAB_033b0c68;
		 *         }
		 *         uVar8 = uVar8 - 1;
		 *         piVar7 = piVar7 + 4;
		 *       } while (uVar8 != 0);
		 *     }
		 *     puVar4 = (undefined8 *)
		 *              func_0x03237558(this_00,*(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0,0);
		 * LAB_033b0c68:
		 *     (*(code *)*puVar4)(this_00,puVar4[1]);
		 *   }
		 *   return pvVar3;
		 */
		// RVA: 0x32B0D20 VA: 0x781899BD20
		public System.Byte[] EncodeBinary(System.Byte[] src);
		/*
		 *   void *pvVar1;
		 *   undefined8 *puVar2;
		 *   void *message;
		 *   undefined8 uVar3;
		 *   void **ppvVar4;
		 *   long lVar5;
		 *   ulong uVar6;
		 *   int *piVar7;
		 *   long lVar8;
		 *   long *plVar9;
		 *   undefined1 auVar10 [12];
		 *   long lStack_38;
		 *   void **ppvStack_30;
		 *   void *pvStack_28;
		 *
		 *   if ((bRam000000000754af9e & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
		 *     bRam000000000754af9e = 1;
		 *   }
		 *   pvStack_28 = null;
		 *   pvStack_28 = (void *)System.Security.Cryptography.MD5.Create();
		 *   ppvStack_30 = &pvStack_28;
		 *   lStack_38 = 0;
		 *   if (pvStack_28 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   pvVar1 = System.Security.Cryptography.HashAlgorithm.ComputeHash(pvStack_28,src);
		 *   lVar8 = 0;
		 *   ppvVar4 = &pvStack_28;
		 *   do {
		 *     plVar9 = *ppvVar4;
		 *     if (plVar9 != null) {
		 *       lVar5 = *plVar9;
		 *       uVar6 = (ulong)*(ushort *)(lVar5 + 0x12e);
		 *       if (uVar6 != 0) {
		 *         piVar7 = (int *)(*(long *)(lVar5 + 0xb0) + 8);
		 *         do {
		 *           if (*(long *)(piVar7 + -2) == *(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0) {
		 *             puVar2 = (undefined8 *)(lVar5 + (long)*piVar7 * 0x10 + 0x138);
		 *             goto LAB_033b0de0;
		 *           }
		 *           uVar6 = uVar6 - 1;
		 *           piVar7 = piVar7 + 4;
		 *         } while (uVar6 != 0);
		 *       }
		 *       puVar2 = (undefined8 *)
		 *                func_0x03237558(plVar9,*(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0,0);
		 * LAB_033b0de0:
		 *       (*(code *)*puVar2)(plVar9,puVar2[1]);
		 *     }
		 *     if (lVar8 == 0) {
		 *       return pvVar1;
		 *     }
		 *     auVar10 = func_0x031fdf2c(lVar8);
		 *     if (auVar10._8_4_ != 1) {
		 *       func_0x02d70dc0(&lStack_38);
		 *       func_0x032ed34c(auVar10._0_8_);
		 *       func_0x02d70c70();
		 *       func_0x031fdca0(typeinfo_ptr_mscorlib_Exception_6FC0B50);
		 *       pvVar1 = (void *)func_0x031fdf24();
		 *       message = (void *)func_0x031fdca0(PTR_DAT_070c6840);
		 *       System.Exception..ctor(pvVar1,message);
		 *       uVar3 = func_0x031fdca0(PTR_DAT_070c6848);
		 *       IL2CPP.ThrowManagedException();
		 *     }
		 *     plVar9 = (long *)func_0x06cb38e0(auVar10._0_8_);
		 *     lVar8 = *plVar9;
		 *     lStack_38 = lVar8;
		 *     func_0x06cb38f0();
		 *     pvVar1 = null;
		 *     ppvVar4 = ppvStack_30;
		 *   } while( true );
		 */
		// RVA: 0x32B0E58 VA: 0x781899BE58
		public string DecodeString(string encrypted);
		/*
		 *   void *this_00;
		 *   void *message;
		 *   undefined8 uVar1;
		 *
		 *   func_0x031fdca0(typeinfo_ptr_mscorlib_Exception_6FC0B50);
		 *   this_00 = (void *)func_0x031fdf24();
		 *   message = (void *)func_0x031fdca0(PTR_DAT_070c6840);
		 *   System.Exception..ctor(this_00,message);
		 *   uVar1 = func_0x031fdca0(PTR_DAT_070c6848);
		 *   IL2CPP.ThrowManagedException();
		 */
		// RVA: 0x32B0EA4 VA: 0x781899BEA4
		public System.Byte[] DecodeBinary(System.Byte[] src);
		/*
		 *   void *this_00;
		 *   void *message;
		 *   undefined8 uVar1;
		 *
		 *   func_0x031fdca0(typeinfo_ptr_mscorlib_Exception_6FC0B50);
		 *   this_00 = (void *)func_0x031fdf24();
		 *   message = (void *)func_0x031fdca0(PTR_DAT_070c6840);
		 *   System.Exception..ctor(this_00,message);
		 *   uVar1 = func_0x031fdca0(PTR_DAT_070c6850);
		 *   IL2CPP.ThrowManagedException();
		 */
	}
}
