Click here to Skip to main content
15,741,811 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to encrypt and decrypt string value using PGP with Bouncy castle.

I have found many example but all are related to file encryption.

Can someone tell me PGP for text encrption.

What I have tried:

I have tried code available for text file encryption
Updated 16-Oct-18 23:38pm

1 solution

Found this after 5 seconds of googling for "bouncy castle encryption c# example"

bouncycastle - Encrypt/Decrypt using Bouncy Castle in C# - Stack Overflow[^]

I'm sure you can find many more if you google yourself.
Share this answer
suhel_khan 19-Oct-18 1:38am    
Kindly go through the question again, I am asking PGP encryption using BC and code which you have referred is Crypto one.
F-ES Sitecore 19-Oct-18 5:04am    
So google for that.
suhel_khan 19-Oct-18 6:52am    
I have already done that, after that only posted here. Its OK if you can't solve the issue.

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