OpenPGP Library for .NET

Download trial version or use NuGet: PM> Install-Package DidiSoft.Pgp.Trial

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

// C#
PGPLib pgp = new PGPLib();
// should output be ASCII or binary
bool asciiArmor = false;
// encrypt
'-- VB.NET
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", _

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.

Current version:
Build date: 15 February 2018

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

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

Additional information

Help Online API reference

Subscribe to the Newsletter Newsletter