Hashing text in hexadecimal

Поиск
Список
Период
Сортировка
Искать

Hashing text in hexadecimal

От:
mephysto <mephystoonhell@gmail.com>
Дата:
Hello to everyone,
I would need to hash some text and I would to produce an hexadecimal value
as result.

Is there a postgres function to achieve this goal?

Thank you very much.

Mephysto

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Hashing-text-in-hexadecimal-tp5022875p5022875.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: Hashing text in hexadecimal

От:
"Tomas Vondra" <tv@fuzzy.cz>
Дата:
On 25 Listopad 2011, 15:15, mephysto wrote:
> Hello to everyone,
> I would need to hash some text and I would to produce an hexadecimal value
> as result.
>
> Is there a postgres function to achieve this goal?

What about md5(text)? If you need better hashing (e.g. sha-1), check
pgcrypto contrib module.

T.

Re: Hashing text in hexadecimal

От:
mephysto <mephystoonhell@gmail.com>
Дата:
Thank you very much.

Meph

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Hashing-text-in-hexadecimal-tp5022875p5022895.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
FAQ