@@ -36,13 +36,14 @@ pgcrypto configures itself according to the findings of main PostgreSQL
3636`configure` script. The options that affect it are `--with-zlib` and
3737`--with-openssl`.
3838
39- Without zlib, the PGP functions will not support compressed data inside
40- PGP encrypted packets .
39+ When compiled with zlib, PGP encryption functions are able to
40+ compress data before encrypting .
4141
42- Without OpenSSL, public-key encryption does not work, as pgcrypto does
43- not yet contain math functions for large integers.
42+ When compiled with OpenSSL there will be more algorithms available.
43+ Also public-key encryption functions will be faster as OpenSSL
44+ has more optimized BIGNUM functions.
4445
45- There are some other differences with and without OpenSSL:
46+ Summary of functionality with and without OpenSSL:
4647
4748`----------------------------`---------`------------
4849 Functionality built-in OpenSSL
@@ -421,7 +422,7 @@ with CRC and additional formatting.
421422Options are named to be similar to GnuPG. Values should be given after
422423an equal sign; separate options from each other with commas. Example:
423424
424- pgp_sym_encrypt(data, psw, 'compress-also =1, cipher-algo=aes256')
425+ pgp_sym_encrypt(data, psw, 'compress-algo =1, cipher-algo=aes256')
425426
426427All of the options except `convert-crlf` apply only to encrypt
427428functions. Decrypt functions get the parameters from PGP data.
@@ -571,7 +572,7 @@ The GNU Privacy Handbook] and other docs on http://www.gnupg.org[] site.
571572-------------------
572573
573574Those functions only run a cipher over data, they don't have any advanced
574- features of PGP encryption. In addition, they have some major problems:
575+ features of PGP encryption. Therefore they have some major problems:
575576
5765771. They use user key directly as cipher key.
5775782. They don't provide any integrity checking, to see
@@ -713,4 +714,4 @@ http://www.cs.ut.ee/~helger/crypto/[]::
713714 Collection of cryptology pointers.
714715
715716
716- // $PostgreSQL: pgsql/contrib/pgcrypto/README.pgcrypto,v 1.15 2006/07/13 04:15:24 neilc Exp $
717+ // $PostgreSQL: pgsql/contrib/pgcrypto/README.pgcrypto,v 1.16 2006/07/19 17:05:50 neilc Exp $
0 commit comments