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: (view raw, whole thread or download thread mbox)
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                        |
  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-2017 The PostgreSQL Global Development Group