Skip site navigation (1) Skip section navigation (2)

Re: md5 function

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: ivan <iv(at)psycho(dot)pl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: md5 function
Date: 2004-03-27 22:07:11
Message-ID: 200403272207.i2RM7BW28555@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Manuel SugawaraDate: 2004-03-28 00:56:45
Subject: default enconding
Previous:From: Manfred KoizarDate: 2004-03-27 22:03:09
Subject: Re: PostgreSQL block size vs. LVM2 stripe width

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group