pgcrypto doc updates
authorMagnus Hagander
Thu, 17 Jan 2008 11:06:28 +0000 (11:06 +0000)
committerMagnus Hagander
Thu, 17 Jan 2008 11:06:28 +0000 (11:06 +0000)
Marko Kreen

doc/src/sgml/pgcrypto.sgml

index 892dfdca2b6a56c56a2e5726293233cfeadb6f65..5c5e7a80f8412820d095cfe7fd0ace81cb1c3af4 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  pgcrypto
    
     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 md5sha1,
+    sha224sha256,
+    sha384 and sha512.
+    If pgcrypto was built with
     OpenSSL, more algorithms are available, as detailed in
     .
    
   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.
   
 
 
    
     Which compression algorithm to use.  Only available if
-    <filename>pgcrypto</> was built with zlib.
+    <productname>PostgreSQL/> was built with zlib.
    
    
     Values:
    
     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.
    
    
     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.
    
    
 
    
     
-     2440.txt">
+     4880.txt">
      OpenPGP message format.
     
-    
-     
-      
-     
-     New version of RFC 2440.
-    
     
      
      The MD5 Message-Digest Algorithm.