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