Re: Password type ?

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: Password type ?
Дата
Msg-id 20020122210502.B4278@ninja1.internal
обсуждение исходный текст
Ответ на Re: Password type ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Password type ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
> > I don't seem to be able to find a built-in way in PostgreSQL for
> > password encryption of a field?
> >
> > is there something like this and i just dont find it because of
> > the late hour ?
>
> We don't have that feature.

Eh... what about the pgcrypto package?

CREATE VIEW "user_md5_auth" AS
  SELECT username, ENCODE(DIGEST(password, 'md5'), 'hex') as password
    FROM passwd;

-sc

--
Sean Chittenden

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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Re: sql scripts
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Password type ?