[GENERAL] Two way encription in PG???

2001-03-04 Thread Boulat Khakimov
Hi, Im porting my software from mySQL to PG. I need to encypt a field in a table using two way encription. In mySQL for those purposes I was using build-in functions ENCODE/DECODE, is there such an equivalent in PG? How do I encrypt/decrypt something in PG? Regards, Boulat

Re: [GENERAL] Two way encription in PG???

2001-03-04 Thread Peter Eisentraut
Boulat Khakimov writes: How do I encrypt/decrypt something in PG? Download 7.1 and use the contrib/pgcrypto module. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ---(end of broadcast)--- TIP 2: you can get off all

Re: [GENERAL] Two way encription in PG???

2001-03-04 Thread Jeff Davis
Peter Eisentraut wrote: Boulat Khakimov writes: How do I encrypt/decrypt something in PG? Download 7.1 and use the contrib/pgcrypto module. I looked at the pgcrypto README file and it seems that it only makes one-way hashes. None of the functions had a key argument of any kind. The