MD5 Function

Поиск
Список
Период
Сортировка
От truthhurts@insightbb.com
Тема MD5 Function
Дата
Msg-id 102220052340.102.435ACDF8000519F70000006621979133639C05020E0D0E@insightbb.com
обсуждение исходный текст
Ответы Re: MD5 Function  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-novice
Hi, I am trying to verify the return size that MD5 function returns.  I dont see
any details mentioned about this in the docs.

Basically i am planning on storing passwords as md5(password) and want to know
if i can just declare the password field to be something like VARCHAR(32) or
even CHAR(32) if it's guaranteed that it will never be longer/shorter than 32
chars.

Perhaps this is not that big of a deal and i could as easily just declare it as
VARCHAR/TEXT without the size constraint. I just want to know what is best
storage and performance wise?

Thanks,

Aaron

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

Предыдущее
От:
Дата:
Сообщение: Re: Excellent PGSQL Tutorial, WinXP as Service - Configure for Manual Operation
Следующее
От:
Дата:
Сообщение: Re: WinXP Install - Account Password Information