Re: SHA-1 vs MD5

From: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
To: "Andrew Sullivan" <ajs(at)crankycanuck(dot)ca>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: SHA-1 vs MD5
Date: 2007-03-07 20:31:39
Message-ID: b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 3/8/07, Andrew Sullivan <ajs(at)crankycanuck(dot)ca> wrote:
> What is the problem you're trying to solve? Md5 is probably good
> enough for many cases, but for long-term use, you're right that sha-1
> is what you need. Actually, you need sha-256, quite frankly.
Looking at his last mail he's after a password hash.

To the OP:
Currently there's no support in pg for sha algorithms, but you
could always implement those in your application and store
the hash in pg that way.

Cheers,
Andrej

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sumeet 2007-03-07 20:40:34 Re: tesearch2 question
Previous Message Andrew Sullivan 2007-03-07 20:17:31 Re: SHA-1 vs MD5