Re: storing passwords

From: John DeSoi <desoi(at)pgedit(dot)com>
To: "Cima" <ruel(dot)cima(at)facinf(dot)uho(dot)edu(dot)cu>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: storing passwords
Date: 2005-04-06 12:36:40
Message-ID: 864F3CBC-A698-11D9-86D9-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Apr 6, 2005, at 2:44 AM, Cima wrote:

>
> what id like to know is if there is a way of storing these passwords
> as nonplain text or in an encrypted form. i know mysql has an internal
> function/datatype that when specified, it encrypts the values given.
>  is there anything like this in postgresql 8.0.1?
> if not, any sugestions on how to store these passwords?

You can use the built in md5 function to generate a digest for the user
name and password. This is what PostgreSQL uses.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message SG Edwards 2005-04-06 13:48:19 port connection number?!
Previous Message Martin Atukunda 2005-04-06 07:29:16 ecpg for windows