-
+
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 md5, sha1,
+ sha224, sha256,
+ 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.
-
-
-
New version of RFC 2440.
-
The MD5 Message-Digest Algorithm.