public static byte[] ReadAllBytes(string path, string key, string iv) { var text = File.ReadAllBytes(path); return(DESUtil.Decrypt(text, key, iv)); }
public static string ReadAllText(string path, string key, string iv) { var text = File.ReadAllText(path); return(DESUtil.Decrypt(text, key, iv)); }