Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUPRJ-0007ym-90 for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Oct 2013 23:14:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VUPRI-0006EQ-Lw for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Oct 2013 23:14:40 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUPRI-0006E9-0W for pgsql-bugs@postgresql.org; Thu, 10 Oct 2013 23:14:40 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUPRE-00056D-HO for pgsql-bugs@postgresql.org; Thu, 10 Oct 2013 23:14:39 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1VUPRA-0006J8-7X; Thu, 10 Oct 2013 19:14:32 -0400 Date: Thu, 10 Oct 2013 19:14:32 -0400 From: Bruce Momjian To: Peter Eisentraut Cc: Richard Neill , Magnus Hagander , postgresql@richardneill.org, pgsql-bugs Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs Message-ID: <20131010231432.GA7092@momjian.us> References: <52421047.60301@richardneill.org> <20131002160044.GF21547@momjian.us> <5257089E.7090406@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5257089E.7090406@gmx.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Thu, Oct 10, 2013 at 04:05:50PM -0400, Peter Eisentraut wrote: > The changes shown below are incorrect, I think. > > > On 10/2/13 12:00 PM, Bruce Momjian wrote: > > *************** gen_salt(type text [, iter_count integer > > *** 353,359 **** > > 12 years > > > > > > ! md5 > > 2345086 > > 1 day > > 3 years > > --- 358,364 ---- > > 12 years > > > > > > ! md5 hash Uh, the table already has a mention of md5 crypt above: crypt-md5 How can the later entry not be MD5 hash? > > 2345086 > > 1 day > > 3 years > > *************** gen_salt(type text [, iter_count integer > > *** 380,386 **** > > > > > > > > ! md5 numbers are from mdcrack 1.2. > > > > > > > > --- 385,391 ---- > > > > > > > > ! md5 hash numbers are from mdcrack 1.2. > > > > > > > > *************** gen_random_bytes(count integer) returns > > *** 1343,1349 **** > > OpenBSD sys/crypto > > > > > > ! MD5 and SHA1 > > WIDE Project > > KAME kame/sys/crypto > > > > --- 1348,1354 ---- > > OpenBSD sys/crypto > > > > > > ! MD5 hash and SHA1 > > WIDE Project > > KAME kame/sys/crypto > > > Again, "MD5 crypt" is mentioned in the same table above: MD5 crypt so how can this not be md5 hash? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs