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@xxxxxxxx on 15/10/2001 08:50:20 To: pgsql-php@xxxxxxxxxxxxxx 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@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
Attachment:
att1.eml
Description: Binary data