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: 23349.1074719573@sss.pgh.pa.us (view raw or flat)
Thread:
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-2014 The PostgreSQL Global Development Group