From d6464fdc0a591662e5e5ee1b0303932e89cb027c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 9 Dec 2013 16:10:47 -0500 Subject: [PATCH] pgcrypto docs: update encryption timings and add relative times Miles Elam --- doc/src/sgml/pgcrypto.sgml | 59 ++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 25 deletions(-) diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index 57d340180b..0d04f7e4fd 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -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.