></a><pre class="synopsis">
pgp_sym_decrypt(msg bytea, psw text [, options text ]) returns text
pgp_sym_decrypt_bytea(msg bytea, psw text [, options text ]) returns bytea
</pre><p>
    Decrypt a symmetric-key-encrypted PGP message.
   </p><p>
    Decrypting <code class="type">bytea</code> data with <code class="function">pgp_sym_decrypt</code> is disallowed.
    This is to avoid outputting invalid character data.  Decrypting
    originally textual data with <code class="function">pgp_sym_decrypt_bytea</code