decrypt(data bytea, key bytea, type text) returns bytea code example
Example: decrypt(data bytea, key bytea, type text) returns bytea
SELECT pgp_sym_decrypt(pgp_sym_encrypt('abcdedf', current_setting('my_app.passwd')), current_setting('my_app.passwd'));