问题描述
我看过很多帖子,也看过很多教程,但似乎都没有效果.有时,他们会引用一些未找到的类.能否指点一下我可以得到一个简单的教程来展示如何加密和解密文件的地方.
I've seen a number of posts, followed a number of tutorials but none seems to work. Sometimes, they make reference to some classes which are not found. Can I be pointed to a place where I can get a simple tutorial showing how to encrypt and decrypt a file.
我对 Pgp 很陌生,欢迎任何帮助.
I'm very new to Pgp and any assistance is welcomed.
推荐答案
这是怎么回事:
Bouncycastle PGP 解密期间的 PartialInputStream
此外,该 zip 文件包含以下示例:
Also, the zip contains examples here:
http://www.bouncycastle.org/csharp/
希望这会有所帮助.如果您仍然遇到问题,请发布有关编译器抱怨哪些类的更多详细信息,社区会查看.
Hope this helps. If you're still stuck, post some more detail about what classes the compiler is complaining about and the community will take a look.
这篇关于使用 BouncyCastle c# 的 PgP 加密和解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!