2

I have OpenPGP pgpkey and pgpid, in C# how to simply encrypt a string using the Bouncy Castle library ?

Public Key of receiver(MPI in base64): BADelitpUqMZLn+bryZR5rK9J3eu+pRVFP5tpboOlIwO2vqO/rCi8VvT2TPzEJarWhyZ465NIohYCiia9vaGUEp4rsDzFnVNgpON47yPew1zCmOOofituf+X6Qlaxylm5NnO4vnRcmoF4IbGwSCqyGgGor29D75Hovwlj1q6BWHYWwAGKQ==

Key Type of Public Key: RSA

Key ID of Public Key (8 bytes in hex): 02044b001cd7a551

Yannick Blondeau
  • 9,465
  • 8
  • 52
  • 74
user1871892
  • 21
  • 1
  • 3

1 Answers1

1

This blog post shows an example of OpenPGP encryption using the Bouncy Castle library. The same author has also written about the decryption part.

Yannick Blondeau
  • 9,465
  • 8
  • 52
  • 74