pgcrypto docs: update encryption timings and add relative times
authorBruce Momjian
Mon, 9 Dec 2013 21:10:47 +0000 (16:10 -0500)
committerBruce Momjian
Mon, 9 Dec 2013 21:10:47 +0000 (16:10 -0500)
Miles Elam

doc/src/sgml/pgcrypto.sgml

index 57d340180b72f89881cf6017c3d1839c5df73f6a..0d04f7e4fd018bd2593c0e329e895cdd4ce7afe0 100644 (file)
@@ -312,56 +312,65 @@ gen_salt(type text [, iter_count integer ]) returns text
        Hashes/sec
        For [a-z]
        For [A-Za-z0-9]
+       Duration relative to md5 hash
       
      
      
       
        crypt-bf/8
-       28
-       246 years
-       251322 years
+       1792
+       4 years
+       3927 years
+       100k
       
       
        crypt-bf/7
-       57
-       121 years
-       123457 years
+       3648
+       2 years
+       1929 years
+       50k
       
       
        crypt-bf/6
-       112
-       62 years
-       62831 years
+       7168
+       1 year
+       982 years
+       25k
       
       
        crypt-bf/5
-       211
-       33 years
-       33351 years
+       13504
+       188 days
+       521 years
+       12.5k
       
       
        crypt-md5
-       2681
-       2.6 years
-       2625 years
+       171584
+       15 days
+       41 years
+       1k
       
       
        crypt-des
-       362837
-       7 days
-       19 years
+       23221568
+       157.5 minutes
+       108 days
+       7
       
       
        sha1
-       590223
-       4 days
-       12 years
+       37774272
+       90 minutes
+       68 days
+       4
       
       
        md5 hash
-       2345086
-       1 day
-       3 years
+       150085504
+       22.5 minutes
+       17 days
+       1
       
      
     
@@ -374,7 +383,7 @@ gen_salt(type text [, iter_count integer ]) returns text
    
     
      
-     The machine used is a 1.5GHz Pentium 4.
+     The machine used is an Intel Core i5.