Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6CA77475E8C for ; Fri, 10 Jan 2003 14:49:31 -0500 (EST) Received: from localhost.localdomain (thompsonmccully.com [63.215.160.3]) by postgresql.org (Postfix) with ESMTP id C4367475E23 for ; Fri, 10 Jan 2003 14:49:29 -0500 (EST) Received: from dynedge.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h0AJnRY09598 for ; Fri, 10 Jan 2003 13:49:27 -0600 From: "Rob Abernethy IV" To: "postgresql" Subject: Encrypted Passwords Date: Fri, 10 Jan 2003 14:49:27 +0800 Message-Id: <20030110144927.M51502@dynedge.com> X-Mailer: Open WebMail 1.64 20020419 X-OriginatingIP: 192.168.1.13 (abernethy@dynedge.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/87 X-Sequence-Number: 6929 How does postgres calculate the MD5 version of a password to store in the database during user creation? I am trying to set up a postgres JDBCRealm to work with Tomcat. The problem is that the resulting digest from Java is different then the digest stored in the database for the same word. clear-text: tomcat java: 1b359d8753858b55befa0441067aaed3 postgres: md5efcc1c51a80be13b59cdb96d758a0184 -- Robert Abernethy IV Dynamic Edge, Inc. 734.975.0460