using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Duplicati.Encryption
{
///
/// Public interface for an encryption method
///
public interface IEncryption
{
///
/// Encrypts the contents of the inputfile, and saves the result as the outputfile.
///
/// The file to encrypt
/// The encrypted file
void Encrypt(string inputfile, string outputfile);
///
/// Encrypts the contents of the input stream, and writes the result to the output stream.
///
/// The stream to encrypt
/// The encrypted stream
void Encrypt(Stream input, Stream output);
///
/// Decrypts the contents of the input file and saves the result as the outputfile
///
/// The file to decrypt
/// The decrypted output file
void Decrypt(string inputfile, string outputfile);
///
/// Dencrypts the contents of the input stream, and writes the result to the output stream.
///
/// The stream to decrypt
/// The decrypted stream
void Decrypt(Stream input, Stream output);
}
}