Hi Tom,
There is a standard function - 'crypt( )' . I'm afraid I can't give you a
detailed run down on how to use it off the top of my head, but the manual covers
it pretty well, and you can also check it out at http://www.php.net
If you need more serious security there are other encryption functions around,
but I think you have to load most of these in as separate modules. I seem to
remember that php builder have done a couple of good articles on such things
(don't quote me on that though).
Cheers,
Ben Westgarth
hodges@xprt.net on 15/10/2001 08:50:20
To: pgsql-php@postgresql.org
cc: (bcc: Ben Westgarth/User/FaCS)
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@xprt.net or tom_hodges@yahoo.com
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@postgresql.org so that your
message can get through to the mailing list cleanly