| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | Richard Neill <rn214(at)richardneill(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, postgresql(at)richardneill(dot)org, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: BUG #8467: Slightly confusing pgcrypto example in docs |
| Date: | 2013-10-10 23:14:32 |
| Message-ID: | 20131010231432.GA7092@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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 ****
> > <entry>12 years</entry>
> > </row>
> > <row>
> > ! <entry><literal>md5</></entry>
> > <entry>2345086</entry>
> > <entry>1 day</entry>
> > <entry>3 years</entry>
> > --- 358,364 ----
> > <entry>12 years</entry>
> > </row>
> > <row>
> > ! <entry><literal>md5 hash</></entry>
Uh, the table already has a mention of md5 crypt above:
<entry><literal>crypt-md5</></entry>
How can the later entry not be MD5 hash?
> > <entry>2345086</entry>
> > <entry>1 day</entry>
> > <entry>3 years</entry>
> > *************** gen_salt(type text [, iter_count integer
> > *** 380,386 ****
> > </listitem>
> > <listitem>
> > <para>
> > ! <literal>md5</> numbers are from mdcrack 1.2.
> > </para>
> > </listitem>
> > <listitem>
> > --- 385,391 ----
> > </listitem>
> > <listitem>
> > <para>
> > ! <literal>md5 hash</> numbers are from mdcrack 1.2.
> > </para>
> > </listitem>
> > <listitem>
> > *************** gen_random_bytes(count integer) returns
> > *** 1343,1349 ****
> > <entry>OpenBSD sys/crypto</entry>
> > </row>
> > <row>
> > ! <entry>MD5 and SHA1</entry>
> > <entry>WIDE Project</entry>
> > <entry>KAME kame/sys/crypto</entry>
> > </row>
> > --- 1348,1354 ----
> > <entry>OpenBSD sys/crypto</entry>
> > </row>
> > <row>
> > ! <entry>MD5 hash and SHA1</entry>
> > <entry>WIDE Project</entry>
> > <entry>KAME kame/sys/crypto</entry>
> > </row>
>
Again, "MD5 crypt" is mentioned in the same table above:
<entry>MD5 crypt</entry>
so how can this not be md5 hash?
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | 'Bruce Momjian' | 2013-10-10 23:15:46 | Re: BUG #8516: Calling VOLATILE from STABLE function |
| Previous Message | Dwayne Towell | 2013-10-10 23:10:35 | Re: BUG #8516: Calling VOLATILE from STABLE function |