利用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

  

posted @ 2019-08-29 16:00  无敌师爷IT技术Blog  阅读(463)  评论(0)    收藏  举报