Skip site navigation (1) Skip section navigation (2)

Re: md5

From: Thom Brown <thombrown(at)gmail(dot)com>
To: "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: md5
Date: 2010-06-24 18:33:44
Message-ID: AANLkTincsU444ElnUGSzOVyN9_vwV8ZeCPTBNHg5m122@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
On 24 June 2010 19:25, Jean-Yves F. Barbier <12ukwn(at)gmail(dot)com> wrote:
> Hi list,
>
> As md5 isn't very safe, is it planned to introduce sha-256/sha-512)?
>

You can use crypt() in pgcrypto if you want that:
http://www.postgresql.org/docs/8.4/static/pgcrypto.html

But it would be nice to see some of this stuff in core.  I personally
would like a whirlpool hash function.

postgres=# select whirlpool('meow');
                                                            whirlpool
----------------------------------------------------------------------------------------------------------------------------------
 bc6145703d25de5cd3fb47f6203d42b2a68b67199ee68bdda84d680900d1147073200ddb87559f5d4d576de76a0cd22e21026a12b3322af4872f34f67d8f642c
(1 row)

Thom

In response to

  • md5 at 2010-06-24 18:25:52 from Jean-Yves F. Barbier

pgsql-novice by date

Next:From: Mladen GogalaDate: 2010-06-24 19:55:13
Subject: Re: RI
Previous:From: Jean-Yves F. BarbierDate: 2010-06-24 18:25:52
Subject: md5

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group