[GENERAL] Encrypt with BouncyCastle and decrypt with pg_pub_decrypt

Поиск
Список
Период
Сортировка
От Kang, Kamal
Тема [GENERAL] Encrypt with BouncyCastle and decrypt with pg_pub_decrypt
Дата
Msg-id DC7C4D9D-4BCD-4082-96E0-82889FE8B342@conversantmedia.com
обсуждение исходный текст
Ответы Re: [GENERAL] Encrypt with BouncyCastle and decrypt with pg_pub_decrypt
Список pgsql-general

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_encrypt?

 

Thanks

 

Kamal

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: [GENERAL] Call for users to talk about table partitioning
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: [GENERAL] Serializable isolation -- are predicate locks stillheld across all databases?