利用DiDiSoft OpenPGP Library for .NET 程序加密解密文件

可以DiDiSoft官网下载OpenPGP Library for .NET: https://didisoft.com/net-openpgp/

引用2个dll:

以下是文件解密代码,加密使用pgp.EncryptFile()方法即可。

已验证解密后文件能否正常打开。

【原文出处】http://www.51aras.com/?id=44

  

原文地址:https://www.cnblogs.com/61007257Steven/p/11430203.html