Re: How to store a password encripted in a user defined table - Mailing list pgsql-sql

From Ezequias Rodrigues da Rocha
Subject Re: How to store a password encripted in a user defined table
Date
Msg-id 55c095e90703010608w55a44b6ifbec7fe8f9fb98dd@mail.gmail.com
Whole thread Raw
In response to Re: How to store a password encripted in a user defined table  (John DeSoi <desoi@pgedit.com>)
Responses Re: How to store a password encripted in a user definedtable  ("Bart Degryse" <Bart.Degryse@indicator.be>)
List pgsql-sql
John,

That was what I was looking for for a long time.

Now I will change my teller password account to md5.

Could someone suggest me how to change all passwords (PLAIN) to md5 ?

My real best regards
Ezequias

2007/3/1, John DeSoi <desoi@pgedit.com>:
> MD5 is built-in to PostgreSQL. It is what PostgreSQL itself uses to
> hash passwords. For example:
>
> select md5('this is my password');
>
>                 md5
> ----------------------------------
> 210d53992dff432ec1b1a9698af9da16
> (1 row)
>
>
>
> On Mar 1, 2007, at 6:06 AM, Eugenio Flores wrote:
>
> > Thanks Andrej. But how can I use such algoritms in postgresql? arey
> > they defined in a function that I can call?
> >
> > Or, do I have to code one of those algorithm to use it in my
> > application?
>
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>


-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=                                 Atenciosamente
(Sincerely)                      Ezequias Rodrigues da
Rocha=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/


pgsql-sql by date:

Previous
From: "Bart Degryse"
Date:
Subject: Re: How to store a password encripted in a user definedtable
Next
From: "Bart Degryse"
Date:
Subject: Re: How to store a password encripted in a user definedtable