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)

If you’re looking for a way to add extra security to your .NET applications, look no further than DidiSoft OpenPGP Library for .NET. With support for encryption, decryption, key generation, and more, this library has everything you need to keep your data safe. Plus, it’s written entirely in managed code, so there are no external dependencies.

Check out our Online Examples section for more information.

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

Current version: 1.9.3.73
Build date: 21 February 2022

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 5, 6, 7
  • .NET Framework 3.5 – 4.8
  • .NET Standard 2.1
  • Windows 10 Universal Platform (UWP)
  • Silverlight 3 – 5
  • Windows Store/WinRT
  • Xamarin.Android
  • Xamarin.Mac
  • 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