pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrej Ricnik-Bay <andrej.groups@gmail.com>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: SHA-1 vs MD5
Date: Thu, 8 Mar 2007 09:31:39 +1300
Message-ID: <b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com> (raw)
In-Reply-To: <20070307201731.GF19042@phlogiston.dyndns.org>
References: <55c095e90703071204t5aebb921s9d5f1067d3c2f035@mail.gmail.com>
	<20070307201731.GF19042@phlogiston.dyndns.org>

On 3/8/07, Andrew Sullivan <ajs@crankycanuck.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



view thread (11+ messages)  latest in thread

Message-ID: <b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com>
Permalink:  ../b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com/
Also on:    postgresql.org/message-id/b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com

 · 

reply

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: andrej.groups@gmail.com, ajs@crankycanuck.ca
  Subject: Re: SHA-1 vs MD5
  In-Reply-To: <b35603930703071231s39f262f0r780a771388376da6@mail.gmail.com>

* 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