Esempio n. 1
0
        public static byte[] ReadAllBytes(string path, string key, string iv)
        {
            var text = File.ReadAllBytes(path);

            return(DESUtil.Decrypt(text, key, iv));
        }
Esempio n. 2
0
        public static string ReadAllText(string path, string key, string iv)
        {
            var text = File.ReadAllText(path);

            return(DESUtil.Decrypt(text, key, iv));
        }