private static void MyMain() { string filename = "1.bmp"; string fullPath3 = Path.GetFullPath(filename); byte[] data = File.ReadAllBytes(fullPath3); Bitmap bitmap = new Bitmap(fullPath3); byte[] data2 = MyA.i(bitmap, data); data2 = MyA.Myh2(data2); File.WriteAllBytes("1.bin", data2); }
// Token: 0x06000015 RID: 21 RVA: 0x00002924 File Offset: 0x00002924 public static byte[] Myh(byte[] data) { byte[] array = new byte[data.Length]; int num = 0; for (int i = 0; i < data.Length; i++) { int num2 = (int)MyA.Myg(num++); int num3 = (int)data[i]; num3 = (int)Program.e((byte)num3, (byte)num2); num3 = (int)Program.b((byte)num3, 7); int num4 = (int)MyA.Myg(num++); num3 = (int)Program.e((byte)num3, (byte)num4); num3 = (int)Program.d((byte)num3, 3); array[i] = (byte)num3; } return(array); }