From 98bb697f332fdfaccac6d1927a7a858e17f9ab8f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 17 Jan 2008 11:06:28 +0000 Subject: [PATCH] pgcrypto doc updates Marko Kreen --- doc/src/sgml/pgcrypto.sgml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index 892dfdca2b..5c5e7a80f8 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -1,4 +1,4 @@ - + pgcrypto @@ -26,8 +26,10 @@ Computes a binary hash of the given data. type is the algorithm to use. - Standard algorithms are md5 and - sha1. If pgcrypto was built with + Standard algorithms are md5, sha1, + sha224, sha256, + sha384 and sha512. + If pgcrypto was built with OpenSSL, more algorithms are available, as detailed in . @@ -390,7 +392,7 @@ PGP encryption functions - The functions here implement the encryption part of the OpenPGP (RFC 2440) + The functions here implement the encryption part of the OpenPGP (RFC 4880) standard. Supported are both symmetric-key and public-key encryption. @@ -657,7 +659,7 @@ Which compression algorithm to use. Only available if - pgcrypto was built with zlib. + PostgreSQL was built with zlib. Values: @@ -689,7 +691,7 @@ Whether to convert \n into \r\n when encrypting and \r\n to \n when - decrypting. RFC 2440 specifies that text data should be stored using + decrypting. RFC 4880 specifies that text data should be stored using \r\n line-feeds. Use this to get fully RFC-compliant behavior. @@ -706,7 +708,7 @@ Do not protect data with SHA-1. The only good reason to use this option is to achieve compatibility with ancient PGP products, predating - the addition of SHA-1 protected packets to RFC 2440. + the addition of SHA-1 protected packets to RFC 4880. Recent gnupg.org and pgp.com software supports it fine. @@ -1172,15 +1174,9 @@ - + OpenPGP message format. - - - - - New version of RFC 2440. - The MD5 Message-Digest Algorithm. -- 2.40.0