Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9594C4759A1 for ; Wed, 21 Aug 2002 22:12:23 -0400 (EDT) Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 848D3475966 for ; Wed, 21 Aug 2002 22:12:22 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g7M2Bhr22874; Wed, 21 Aug 2002 22:11:43 -0400 (EDT) From: Bruce Momjian Message-Id: <200208220211.g7M2Bhr22874@candle.pha.pa.us> Subject: Re: password encryption In-Reply-To: <200208212055.19700.klaus@sonnenleiter.com> To: Klaus Sonnenleiter Date: Wed, 21 Aug 2002 22:11:42 -0400 (EDT) Cc: Tim Ellis , Stefan Fiel , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/248 X-Sequence-Number: 5362 See contrib/pg_crypto for encryption routines you can load into the database. --------------------------------------------------------------------------- Klaus Sonnenleiter wrote: > To protect your passwords effectively, you probably want them encrypted before > they go on the wire, so you will need to put the encryption capability in the > application, not in the database. This way you will only transmit and store > encrypted data. Take a look at cryptix.org for some pretty good Java and Perl > implementations. > > On Wednesday 21 August 2002 05:36, Tim Ellis wrote: > > > i like to store passwords for a webapplication in my postgre database. > > > > > > now i'm searching for a way to encrypt the passwords, something like the > > > function password() for mysql. > > > > I always run my passwords through md5sum(), which is an open source > > implementation, and thus seems to've been written in every language out > > there. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073