Re: encrypt/decrypt between javascript and postgresql.

2020-03-13 Thread Adrian Klaver
On 3/11/20 5:46 PM, AC Gomez wrote: I'm trying to encrypt/decrypt between javascript and postgresql. I'm using this: https://gist.github.com/vlucas/2bd40f62d20c1d49237a109d491974eb algorithm to encrypt my text, and then in PostgreSQL I use PGCRYPTO.decrypt_iv to decrypt the text.

encrypt/decrypt between javascript and postgresql.

2020-03-11 Thread AC Gomez
I'm trying to encrypt/decrypt between javascript and postgresql. I'm using this: https://gist.github.com/vlucas/2bd40f62d20c1d49237a109d491974eb algorithm to encrypt my text, and then in PostgreSQL I use PGCRYPTO.decrypt_iv to decrypt the text. I pass in 'ThisISMySign' to