Re: MD5() function not available ??

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: MD5() function not available ??
Дата
Msg-id Pine.LNX.4.44.0309140709400.31553-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на MD5() function not available ??  ("Marek Lewczuk" <marek.lewczuk@samar.pl>)
Список pgsql-general
On Thu, 11 Sep 2003, Marek Lewczuk wrote:

> I've searched for MD5 crypting function in PG, but I did not find it.
> Anyone knows how to implement this function in PG ?

It's implemented in the pgcrypto module that is in contrib in the tarball.
Once you have added that you can for example do

dennis=# SELECT encode (digest ('the string', 'md5'), 'hex');
 44d5a3f30f0328e0cf60cd275ed3aac9

--
/Dennis


В списке pgsql-general по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: need for in-place upgrades (was Re: State of Beta 2)
Следующее
От: Network Administrator
Дата:
Сообщение: Re: State of Beta 2