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, there is no need to search anywhere 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 and compatible with PGP(r) and GnuPG(r). Plus, it’s written entirely in managed code, so there are no external dependencies.
The library API is easy and you can tune in the provided examples and smoothly adapt them for your use case. Check out our Online Examples section for more information.
Download trial version or use NuGet: PM> Install-Package DidiSoft.Pgp.Trial
Current version: 188.8.131.52
Build date: 17 February 2023
The Library decrypts and encrypts files that can be opened with the following software:
- Symantec Encryption Desktop
- Symantec PGP ® Command Line
- McAfee E-Business Server
- GnuPG (gpg), Gpg4Win, WinPT
- Authora EDGE
- Articsoft FileAssurity
- .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
Royalty free distribution
There are no hidden costs. Distribute the library with no fees to pay.
Trial Version Limitations
- 30 days evaluation copy
C# and VB.NET examples can be found here.
- Online API reference
- Release notes (ReleaseNotes.txt)
- End user license agreement (EULA)
- Datasheet / Technical Whitepaper
Subscribe to the OpenPGP Library for .NET Newsletter