i have followed this link

http://www.postgresonl ine.com/journal/index.php?url=a rchives/165-Encrypting-data-with-pgcrypto.html&s erendipity[csuccess]=moderate#feedb ack

to perform two way encryption, but i am getting the following error while inserting :

ERROR : Corrupt ascii-armor

please help me to solve this error.