Click here to Skip to main content
15,662,478 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have tried many Examples in Google to PGP Encrypt my Text file , but all of them shows error in some or other ways.

I tried the Encryption Tool[^] for testing my file.

It only works fine in that website only.

I hardly need help for

1)How to generate Public and Private keys using for PGP Encryption in Bouncy Castle
2)How to Encrypt file PGP in Bouncy Castle
3)How to Decrypt this file PGP Bouncy Castle

I have tried all the following Examples from the Links but none helped me may be my mistake of coding can any one here guide me?[^][^][^][^]

Encrypting and Decrypting files with PGP and C#[^][^][^][^][^]

Thanks in advance
Updated 20-Oct-21 9:15am
Richard MacCutchan 18-Nov-15 8:09am    
Instead of posting a lot of links that no one is going to follow, please show the code in error and explain exactly what error(s) you see.
sreeyush sudhakaran 18-Nov-15 14:03pm    
I got the solution :)
George Jonsson 18-Nov-15 21:43pm    
Good for you. :-)
Then please close the question.
Member 13809247 3-May-18 3:45am    
@sreeyush sudhakaran can you please share your solution?

1 solution

hi please share your solution
Share this answer
[no name] 20-Oct-21 15:16pm    
What is that?
Richard Deeming 21-Oct-21 5:42am    
This is not a solution to the question. Delete it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900