pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: darcy@druid.net
To: peter_e@gmx.net
Cc: emils@mail.usis.bkc.lv
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] crypt in Postgres?
Date: Thu, 20 Jan 2000 08:53:22 -0500 (EST)
Message-ID: <m12BI1a-000AVkC@druid.net> (raw)
In-Reply-To: <Pine.GSO.4.02A.10001201257500.15489-100000@Puma.DoCS.UU.SE>

Thus spake Peter Eisentraut
> On Thu, 20 Jan 2000, Emils Klotins wrote:
> 
> > Hello, I wonder if there is something like crypt() function in 
> > postgtres, which would use standard unix crypt?
> 
> No, but you can easily write your own. See the chapter on functions in the
> programmer's guide.

In fact, see http://www.druid.net/darcy/files/chkpass.tgz for an example
of a user type that encrypts it's input.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



view thread (4+ messages)  latest in thread

Message-ID: <m12BI1a-000AVkC@druid.net>
Permalink:  ../m12BI1a-000AVkC@druid.net/
Also on:    postgresql.org/message-id/m12BI1a-000AVkC@druid.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: darcy@druid.net, peter_e@gmx.net, emils@mail.usis.bkc.lv
  Subject: Re: [SQL] crypt in Postgres?
  In-Reply-To: <m12BI1a-000AVkC@druid.net>
  References: <Pine.GSO.4.02A.10001201257500.15489-100000@Puma.DoCS.UU.SE> <m12BI1a-000AVkC@druid.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox