OpenPGP Library for .NET

Why should OpenPGP cryptography be complex when it can be as easy as:

 

PGPLib pgp = new PGPLib();
// should output be ASCII or binary
bool asciiArmor = false;
// encrypt
pgp.EncryptFile(@"C:\INPUT.txt",
                @"C:\recipient_public_key.asc",
                @"C:\OUTPUT.pgp",
                asciiArmor);
Dim pgp As New PGPLib()
' should output be ASCII or binary
Dim asciiArmor As Boolean = False
' encrypt
pgp.EncryptFile("C:\INPUT.txt", _
                "C:\recipient_public_key.asc", _
                "C:\OUTPUT.pgp", _
                asciiArmor)

OpenPGP Library for .NET includes methods for OpenPGP encryption, decryption, clear signing, one pass sign and encrypt, decrypt and verify, key generation, supports both key store and keys located in files. Entirely written in managed code, there are no external third party dependencies. Check our Online Examples section for more details.

Download trial version or use NuGetPM> Install-Package DidiSoft.Pgp.Trial

Current version: 1.9.2.12
Build date: 26 November 2019

The Library decrypts and encrypts files that can be opened with the following software:

.net OpenPGP Library Box Shot

  • Symantec Encryption Desktop
  • Symantec PGP ® Command Line
  • McAfee E-Business Server
  • GnuPG (gpg), Gpg4Win, WinPT
  • Authora EDGE
  • Articsoft FileAssurity

Supported Platforms

  • .NET Framework 2.0 – 4.6
  • Windows 10 Universal Platform (UWP)
  • .NET Core
  • Silverlight 3 – 5
  • Windows Phone 8
  • .NET Compact Framework 2.0, 3.5
  • Windows Store / WinRT
  • Xamarin.Android
  • Xamarin.iOS

Royalty free distribution
There are no hidden costs. Distribute the library with no fees to pay.

Trial Version Limitations

  • 30 days evaluation copy

Online Examples

C# and VB.NET examples can be found here.

OpenPGP for yubikeyAdditional information

Newsletter
Subscribe to the OpenPGP Library for .NET Newsletter