Re: Re: Proposal for encrypting pg_shadow passwords

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Re: Proposal for encrypting pg_shadow passwords
Дата
Msg-id 20010820124127.A27539@l-t.ee
обсуждение исходный текст
Ответ на Re: Re: Proposal for encrypting pg_shadow passwords  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Wed, Aug 15, 2001 at 08:09:15PM -0400, Bruce Momjian wrote:
> Vince, I can't figure out how that pgcrypto API for MD5.

In the 'new' code I sent today:

{
    PX_MD *md;
    uint8 *res;
    int err;

    err = px_find_digest("md5", &md);
    if (err) ...

    res = palloc(px_md_result_size(md));

    px_md_update(md, data, datalen);
    px_md_update(md, data2, data2len);

    px_md_finish(md, res);
    px_md_free(md);
}

--
marko


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

Предыдущее
От: Marko Kreen
Дата:
Сообщение: pgcrypto update
Следующее
От: Garrett Wollman
Дата:
Сообщение: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets