Пример #1
0
 private static void DecryptFile()
 {
     using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
     {
         pgp.DecryptFile("SampleData.PGP", "SampleData.OUT", "Sample_Pri.asc", "Test123");
         Console.WriteLine("PGP Decryption done.");
     }
 }
Пример #2
0
 private static void DecryptFile()
 {
     using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
     {
         //pgp.CompressionAlgorithm = ChoCompressionAlgorithm.Zip;
         pgp.DecryptFile("SampleData.PGP", "SampleData.OUT", "Pri.asc", "Test123");
         Console.WriteLine("PGP Decryption done.");
     }
 }