示例#1
0
        static void Main(string[] args)
        {
            string file = "framework.unity3d";

            byte[] bytes = AESSecurity.DecryptFile(file);
            File.WriteAllBytes(file + ".output123", bytes);
        }
示例#2
0
 public static byte[] DecryptString(string strSource, bool header = true)
 {
     byte[] bytes = Encoding.UTF8.GetBytes(strSource);
     return(AESSecurity.DecryptBytes(bytes, header));
 }
示例#3
0
 public static byte[] DecryptBytes(byte[] datas)
 {
     return(AESSecurity.DecryptBytes(datas, true));
 }