| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mladen Gogala | 2010-06-24 19:55:13 | Re: RI |
| Previous Message | Jean-Yves F. Barbier | 2010-06-24 18:25:52 | md5 |