Click here to Skip to main content
15,881,715 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 https://www.igolder.com/PGP/[^] 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?

http://ledwith.org/2009/08/pgp-decryption-with-c/[^]

https://gist.github.com/dieseltravis/8323431[^]

http://stackoverflow.com/questions/6987699/pgp-encryption-and-decryption-using-bouncycastle-c-sharp[^]

http://stackoverflow.com/questions/4192296/c-sharp-how-to-simply-encrypt-a-text-file-with-a-pgp-public-key[^]

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

https://social.msdn.microsoft.com/Forums/vstudio/en-US/d42b0708-a06b-417e-a834-754f0dcfde92/pgp-encryption-using-visual-studio-2005?forum=csharpgeneral[^]

http://rafayal.blogspot.com.tr/2009/06/pgp-encryption-with-c.html[^]

http://www.getcodesamples.com/src/DB79DADC/1356F94E[^]


http://cephas.net/blog/2004/04/01/pgp-encryption-using-bouncy-castle/[^]


Thanks in advance
Posted
Updated 20-Oct-21 9:15am
Comments
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
 
Comments
[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