USA and Canada: 866.253.7568   Internationl: +1-501-313-0397

DidiSoft Ltd.

OpenPGP Library for .NET

Trial version PGP for .NET Order OpenPGP for .NET

Examples Online Tutorial and Examples

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
pgp.EncryptFile(@"C:\INPUT.txt",
                @"C:\recipient_public_key.asc",
                @"C:\OUTPUT.pgp",
                asciiArmor);
'-- 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", _
                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.

Current version: 1.7.11.8
Build date: 17 December 2014 

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

.net OpenPGP Library Box Shot

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

Supported Platforms

  • .NET Framework 2.0, 3.0, 3.5, 4.0, 4.5 (including Client profile)
  • Silverlight 3,4, 5.
  • Windows Phone 7.x, 8
  • .NET Compact Framework 2.0, 3.5
  • Windows 8 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

Trial version PGP for .NET Order OpenPGP for .NET