Unix crypt() for PostgreSQL

Started by Richi Planaabout 27 years ago2 messagesgeneral
Jump to latest
#1Richi Plana
richip@mozcom.com

Hi,

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

L L Richi Plana 8^) ,-,-. ,-,-. ,-,-. ,-,-. ,-
LL LL Systems Administrator / / \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL Mosaic Communications, Inc. \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL mailto:richip@mozcom.com `-'-' `-'-' `-'-' `-'-'
------------------------------------------------------------------------
P G P Key available at http://www2.mozcom.com/~richip/richip.asc
Tired of Spam? Join this CAUCE! http://www.cauce.org/

#2Jackson, DeJuan
djackson@cpsgroup.com
In reply to: Richi Plana (#1)
RE: [GENERAL] Unix crypt() for PostgreSQL

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

Show quoted text

Hi,

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