From: Bruce Momjian <pgman@candle.pha.pa.us>
To: czhang@theinformationforge.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Crypt() encryption
Date: Fri, 9 Apr 2004 21:06:48 -0400 (EDT)
Message-ID: <200404100106.i3A16mo12268@candle.pha.pa.us> (raw)
In-Reply-To: <200404071101.AA230686984@mail.theinformationforge.com>
Christina Zhang wrote:
> Hello,
>
> We are planning to use Crypt() to encrypt the application level
> users' passwords. Our question is that which encryption method
> the Crypt() is using? (DES, or some other encryption algorithms?)
> Because we concern about the strenth of the Crypt().
Use MD5. That is the best method for this. There is an md5() function
already in the database, and there is /contrib/pgcrypto.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, czhang@theinformationforge.com
Subject: Re: Crypt() encryption
In-Reply-To: <200404100106.i3A16mo12268@candle.pha.pa.us>
* 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