pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ben.Westgarth@facs.gov.au
To: hodges@xprt.net
Cc: pgsql-php@postgresql.org
Subject: Re: encryption for postgres
Date: Mon, 15 Oct 2001 10:38:51 +1000
Message-ID: <CA256AE6.0003C88A.00@facs.gov.au> (raw)



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

Attachments:

  att1.eml (application/octet-stream, 2.9K) download

view thread (6+ messages)  latest in thread

Message-ID: <CA256AE6.0003C88A.00@facs.gov.au>
Permalink:  ../CA256AE6.0003C88A.00@facs.gov.au/
Also on:    postgresql.org/message-id/CA256AE6.0003C88A.00@facs.gov.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: Ben.Westgarth@facs.gov.au, hodges@xprt.net
  Subject: Re: encryption for postgres
  In-Reply-To: <CA256AE6.0003C88A.00@facs.gov.au>
  References: <CA256AE6.0003C88A.00@facs.gov.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox