title: function crypt(unknown) does not exist Postgres
body: <p>I have some question on postgres I'm still new and learning new things about this database. My project wants the database to be encrypted but only for the <code>bytea</code> not including the integers and etc. when i tried using this query.</p>
  
  <pre><code>INSERT INTO admin (email_address) VALUES(pgp_pub_encrypt('testing',dearmor('%s'))
  </code></pre>
  
  <p>it gives me an error of message </p>
  
  <blockquote>
    <p>( ERROR:  function dearmor(unknown) does not exist<br>
    LINE 2: ... (email_address) VALUES(pgp_pub_encrypt('testing',dearmor('%...)</p>
  </blockquote>
  
  <p>Next sql was this.</p>
  
  <pre><code>INSERT INTO admin (email_address) VALUES(crypt('testing','rasenggun'));
  </code></pre>
  
  <p>Error Message: ERROR:  function crypt(unknown, unknown) does not exist</p>
  
  <p>I've read some instructions that you need to install them. I have checked the php.ini as well as the httpd.conf it wasn't there. I'm sorry for being noob. I'm learning in new things.</p>