Example #1
0
File: Des.cs Project: niuniuzhu/KOW
        public static byte[] DesDecrypt(byte[] data, byte[] key, byte[] iv)
        {
            Des des = new Des(key, iv);

            return(des.Decrypt(data));
        }
Example #2
0
File: Des.cs Project: niuniuzhu/KOW
        public static void DesDecrypt(Stream i, Stream o, byte[] key, byte[] iv)
        {
            Des des = new Des(key, iv);

            des.Decrypt(i, o);
        }