Re: md5 function - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: md5 function
Date
Msg-id 200403272207.i2RM7BW28555@candle.pha.pa.us
Whole thread Raw
In response to md5 function  (ivan <iv@psycho.pl>)
List pgsql-hackers
ivan wrote:
> 
> can you create second md5 function like TEXT md5(TEXT string, VARCHAR
> salt); ? , This is using in shadow passwords and give more combination of
> this same password.

Yes, please see src/contrib/pgcrypto.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: PostgreSQL block size vs. LVM2 stripe width
Next
From: Manuel Sugawara
Date:
Subject: default enconding