RE: [GENERAL] Unix crypt() for PostgreSQL

Jackson, DeJuan <djackson@cpsgroup.com>

From: "Jackson, DeJuan" <djackson@cpsgroup.com>
To: Richi Plana <richip@mozcom.com>, pgsql-general@postgreSQL.org
Date: 1999-03-31T17:03:03Z
Lists: pgsql-general
It's depends upon your needs, but if you're on a Unix system why not just
access the system crypt function.  You could create a PostgreSQL C function
to easily access it.  Just look in contrib for an example of the code.
If you're on a Windows system I'd say give up now unless you want to
implement the entire crypt trapdoor algorithms.
	-DEJ

> Hi,
> 
> Does PostgreSQL 6.4.2 have a build in Unix crypt() function? Or has
> someone implemented it that you'd like to share?