Updated the wizard to allow GPGEncryption. Settings now reflect the actual paths required. Completely reworked the way differential updates are read and written, which gives a much cleaner code, a heavy performance boost and a highly reduced number of temporary files. Removed duplicated code for streamwrapping. Updated SharpZipLib to the latest release. Removed unused compression code. git-svn-id: https://duplicati.googlecode.com/svn/trunk@84 59da171f-624f-0410-aa54-27559c288bec
23 lines
567 B
C#
23 lines
567 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Duplicati.Library.Encryption;
|
|
|
|
namespace Duplicati.CommandLine.Decrypter
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
if (args.Length == 3)
|
|
{
|
|
Console.WriteLine("Usage: Duplicati.CommandLine.Decrypter.exe <passphrase> <inputfile> <outputfile>");
|
|
return;
|
|
}
|
|
|
|
AESEncryption c = new AESEncryption(args[0]);
|
|
c.Decrypt(args[1], args[2]);
|
|
}
|
|
}
|
|
}
|