static void Main(string[] args) { string file = "framework.unity3d"; byte[] bytes = AESSecurity.DecryptFile(file); File.WriteAllBytes(file + ".output123", bytes); }
public static byte[] DecryptString(string strSource, bool header = true) { byte[] bytes = Encoding.UTF8.GetBytes(strSource); return(AESSecurity.DecryptBytes(bytes, header)); }
public static byte[] DecryptBytes(byte[] datas) { return(AESSecurity.DecryptBytes(datas, true)); }