Re: SHA-1 vs MD5

From: "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com>
To: "Chad Wagner" <chad(dot)wagner(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: SHA-1 vs MD5
Date: 2007-03-08 11:39:26
Message-ID: 55c095e90703080339y67152f49ud82741fd21ac6370@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I really don't have the pgcrypto. It could be a nice alternative. Could you
tell me the steps to install it ?

I am very concerned about security in my application becouse we are going to
moviment a large ammount of information and money. As much i take care of it
as good.

I know some problem of MD5 and know it is very good too. If someone could
tell me where MD5 is used I could be more relaxed.

My best regards to all

--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org/firefox/

2007/3/7, Chad Wagner <chad(dot)wagner(at)gmail(dot)com>:
>
> On 3/7/07, Ezequias Rodrigues da Rocha <ezequias(dot)rocha(at)gmail(dot)com> wrote:
> >
> > I know that there is a md5 internal function on postgresql, but I
> > noticed that it isn't the more secure today. I would like to know if there
> > is a SHA-1 function implemented yet of, if not, if the team has plan to
> > introduce it on PostgreSQL.
>
>
> You are probably looking for the pgcrypto contribution, look in the
> contrib directory for it.
>
> test=# select encode(digest('blahblah', 'sha256'), 'hex');
> encode
> ------------------------------------------------------------------
> 40b1bbb5445fc021a312315379f4633284851e14d1db83fb0730f58872d6033b
> (1 row)
>
>
>
>
> --
> Chad
> http://www.postgresqlforums.com/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Chad Wagner 2007-03-08 14:52:29 Re: SHA-1 vs MD5
Previous Message Chad Wagner 2007-03-07 21:44:39 Re: SHA-1 vs MD5