There are such functions for both PHP and PostgreSQL -- check out pgcrypto in the contrib directory of the tarball for PostgreSQL support and the mcrypt functions for PHP support... Both link to external libraries.. Note that MD5 and DES encryption might be available without linking to external libs but those are one-way encryptions.... -Mitch ----- Original Message ----- From: <hodges@xxxxxxxx> To: <pgsql-php@xxxxxxxxxxxxxx> Sent: Sunday, October 14, 2001 6:50 PM Subject: [PHP] encryption for postgres > I need to save user ids and passwords to be used for access > to records in a database. The passwords should be encrypted > before saving. Are there builtin or standard php functions > to do encryption/decryption or does one need to add a library > to a standard php install (RedHat 7.1). > > Cheers, Tom > Tom Hodges, hodges@xxxxxxxx or tom_hodges@xxxxxxxxx > ICQ 10149621, YahooMessenger tom_hodges > Mail: 14314 SW Allen Blvd, #317; Beaverton OR 97005 USA > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your > message can get through to the mailing list cleanly >