Re: [GENERAL] Encrypt with BouncyCastle and decrypt with pg_pub_decrypt

2017-05-19 Thread Jeff Janes
On Thu, May 18, 2017 at 4:57 PM, Kang, Kamal wrote: > Hi all, > > > > I am trying to encrypt a string using Bouncy Castle PGP Java apis, Base64 > encode the encrypted string and then decrypt using pg_pub_decrypt but it is > failing with error “Wrong Key”. Just wanted to know if this is doable or

[GENERAL] Encrypt with BouncyCastle and decrypt with pg_pub_decrypt

2017-05-18 Thread Kang, Kamal
Hi all, I am trying to encrypt a string using Bouncy Castle PGP Java apis, Base64 encode the encrypted string and then decrypt using pg_pub_decrypt but it is failing with error “Wrong Key”. Just wanted to know if this is doable or pg_pub_decrypt only works with encrypted strings from pg_pub_enc