Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d6464fd

Browse files
committed
pgcrypto docs: update encryption timings and add relative times
Miles Elam
1 parent d9250da commit d6464fd

File tree

1 file changed

+34
-25
lines changed

1 file changed

+34
-25
lines changed

doc/src/sgml/pgcrypto.sgml

+34-25
Original file line numberDiff line numberDiff line change
@@ -312,56 +312,65 @@ gen_salt(type text [, iter_count integer ]) returns text
312312
<entry>Hashes/sec</entry>
313313
<entry>For <literal>[a-z]</></entry>
314314
<entry>For <literal>[A-Za-z0-9]</></entry>
315+
<entry>Duration relative to <literal>md5 hash</></entry>
315316
</row>
316317
</thead>
317318
<tbody>
318319
<row>
319320
<entry><literal>crypt-bf/8</></entry>
320-
<entry>28</entry>
321-
<entry>246 years</entry>
322-
<entry>251322 years</entry>
321+
<entry>1792</entry>
322+
<entry>4 years</entry>
323+
<entry>3927 years</entry>
324+
<entry>100k</entry>
323325
</row>
324326
<row>
325327
<entry><literal>crypt-bf/7</></entry>
326-
<entry>57</entry>
327-
<entry>121 years</entry>
328-
<entry>123457 years</entry>
328+
<entry>3648</entry>
329+
<entry>2 years</entry>
330+
<entry>1929 years</entry>
331+
<entry>50k</entry>
329332
</row>
330333
<row>
331334
<entry><literal>crypt-bf/6</></entry>
332-
<entry>112</entry>
333-
<entry>62 years</entry>
334-
<entry>62831 years</entry>
335+
<entry>7168</entry>
336+
<entry>1 year</entry>
337+
<entry>982 years</entry>
338+
<entry>25k</entry>
335339
</row>
336340
<row>
337341
<entry><literal>crypt-bf/5</></entry>
338-
<entry>211</entry>
339-
<entry>33 years</entry>
340-
<entry>33351 years</entry>
342+
<entry>13504</entry>
343+
<entry>188 days</entry>
344+
<entry>521 years</entry>
345+
<entry>12.5k</entry>
341346
</row>
342347
<row>
343348
<entry><literal>crypt-md5</></entry>
344-
<entry>2681</entry>
345-
<entry>2.6 years</entry>
346-
<entry>2625 years</entry>
349+
<entry>171584</entry>
350+
<entry>15 days</entry>
351+
<entry>41 years</entry>
352+
<entry>1k</entry>
347353
</row>
348354
<row>
349355
<entry><literal>crypt-des</></entry>
350-
<entry>362837</entry>
351-
<entry>7 days</entry>
352-
<entry>19 years</entry>
356+
<entry>23221568</entry>
357+
<entry>157.5 minutes</entry>
358+
<entry>108 days</entry>
359+
<entry>7</entry>
353360
</row>
354361
<row>
355362
<entry><literal>sha1</></entry>
356-
<entry>590223</entry>
357-
<entry>4 days</entry>
358-
<entry>12 years</entry>
363+
<entry>37774272</entry>
364+
<entry>90 minutes</entry>
365+
<entry>68 days</entry>
366+
<entry>4</entry>
359367
</row>
360368
<row>
361369
<entry><literal>md5 hash</></entry>
362-
<entry>2345086</entry>
363-
<entry>1 day</entry>
364-
<entry>3 years</entry>
370+
<entry>150085504</entry>
371+
<entry>22.5 minutes</entry>
372+
<entry>17 days</entry>
373+
<entry>1</entry>
365374
</row>
366375
</tbody>
367376
</tgroup>
@@ -374,7 +383,7 @@ gen_salt(type text [, iter_count integer ]) returns text
374383
<itemizedlist>
375384
<listitem>
376385
<para>
377-
The machine used is a 1.5GHz Pentium 4.
386+
The machine used is an Intel Core i5.
378387
</para>
379388
</listitem>
380389
<listitem>

0 commit comments

Comments
 (0)