Click here to Skip to main content
15,896,348 members
Articles / Security / Encryption

PGP Encryption with C#

Rate me:
Please Sign up or sign in to vote.
4.94/5 (23 votes)
6 Jan 2013CPOL7 min read 244.1K   6.7K   62  
Encrypting and Decrypting Files with GnuPG
using System.IO;

namespace PGPArticle.Contracts
{
  public interface IEncryptionService
  {
    FileInfo DecryptFile(string encryptedSourceFile, string decryptedFile);
    FileInfo EncryptFile(string keyUserId, string sourceFile, string encryptedFile);
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Australia Australia
A mid-level developer writing .NET code to provide business solutions to a wide range of customer requirements.

Comments and Discussions