I am writing a program in C# to encrypt files with a private and public pgp key. I am very new to PGP and C# but I am getting a hang of it. Can some point me in the right direction on how to use Bouncy Castle C# API to use multiple keys.
Asked
Active
Viewed 5,129 times
1 Answers
1
Have a look at some examples and source code since you are new to pgp , a good tutorial can be found here and also you can find an example here ,
also you can fide some C# examples in the BouncyCastle site

Community
- 1
- 1

Mohamad Alhamoud
- 4,881
- 9
- 33
- 44
-
I found another way instead of using the Bouncy Castle API. Since I am developing on Linux with Mono and C#. I decided to use Process.Start on GPG and the arguments followed. This seems to work but I have had issues decrypting it. – Tyler Jan 04 '12 at 00:14
-
It works now. I can decrypt my files and stuff. This is cool not having to rely on an API. Thanks for the examples, I will take a look into it though. – Tyler Jan 04 '12 at 00:22
-
First link doesn't work, and second doesn't provide an answer. – virouz98 Mar 22 '22 at 11:40