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

Re: passwords

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris" <codle(at)valuelinx(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: passwords
Date: 2004-01-21 21:12:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
"Chris" <codle(at)valuelinx(dot)net> writes:
> Does postgres have a data type such as mysql to encrypt and store passwords?

There's no datatype specialized to that purpose, but you could store
the MD5 hash of a password using the md5() function (standard since
7.4), or use one of the functions in the contrib/pgcrypto/ package.

			regards, tom lane

In response to

  • passwords at 2004-01-21 20:48:46 from Chris

pgsql-novice by date

Next:From: Paul MakepeaceDate: 2004-01-22 13:29:44
Subject: Using OLD on INSERT
Previous:From: ChrisDate: 2004-01-21 20:48:46
Subject: passwords

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