|
|
|
@ -327,7 +327,7 @@ Now common part, the session-key encrypted data packet: |
|
|
|
|
|
|
|
|
|
|
|
Return a symmetric-key encrypted PGP message. |
|
|
|
Return a symmetric-key encrypted PGP message. |
|
|
|
|
|
|
|
|
|
|
|
Options are described in section 5.7. |
|
|
|
Options are described in section 5.8. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.3. pgp_sym_decrypt(msg, psw) |
|
|
|
5.3. pgp_sym_decrypt(msg, psw) |
|
|
|
@ -342,7 +342,7 @@ Decrypting bytea data with `pgp_sym_decrypt` is disallowed. |
|
|
|
This is to avoid outputting invalid character data. Decrypting |
|
|
|
This is to avoid outputting invalid character data. Decrypting |
|
|
|
originally textual data with `pgp_sym_decrypt_bytea` is fine. |
|
|
|
originally textual data with `pgp_sym_decrypt_bytea` is fine. |
|
|
|
|
|
|
|
|
|
|
|
Options are described in section 5.7. |
|
|
|
Options are described in section 5.8. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.4. pgp_pub_encrypt(data, pub_key) |
|
|
|
5.4. pgp_pub_encrypt(data, pub_key) |
|
|
|
@ -354,7 +354,7 @@ Options are described in section 5.7. |
|
|
|
Encrypt data with a public key. Giving this function a secret key will |
|
|
|
Encrypt data with a public key. Giving this function a secret key will |
|
|
|
produce a error. |
|
|
|
produce a error. |
|
|
|
|
|
|
|
|
|
|
|
Options are described in section 5.7. |
|
|
|
Options are described in section 5.8. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.5. pgp_pub_decrypt(msg, sec_key [, psw]) |
|
|
|
5.5. pgp_pub_decrypt(msg, sec_key [, psw]) |
|
|
|
@ -374,7 +374,7 @@ Decrypting bytea data with `pgp_pub_decrypt` is disallowed. |
|
|
|
This is to avoid outputting invalid character data. Decrypting |
|
|
|
This is to avoid outputting invalid character data. Decrypting |
|
|
|
originally textual data with `pgp_pub_decrypt_bytea` is fine. |
|
|
|
originally textual data with `pgp_pub_decrypt_bytea` is fine. |
|
|
|
|
|
|
|
|
|
|
|
Options are described in section 5.7. |
|
|
|
Options are described in section 5.8. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.6. pgp_key_id(key / msg) |
|
|
|
5.6. pgp_key_id(key / msg) |
|
|
|
@ -699,4 +699,4 @@ http://www.cs.ut.ee/~helger/crypto/[]:: |
|
|
|
Collection of cryptology pointers. |
|
|
|
Collection of cryptology pointers. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $PostgreSQL: pgsql/contrib/pgcrypto/README.pgcrypto,v 1.14 2005/11/03 02:54:07 tgl Exp $ |
|
|
|
// $PostgreSQL: pgsql/contrib/pgcrypto/README.pgcrypto,v 1.14.2.1 2006/08/05 00:29:14 neilc Exp $ |
|
|
|
|