Postgresql plugin - how to decrypt the data before display in grafana

I am using PostgreSQL data source to connect the PostgreSQL database to Grafana UI components like Graph, HeatMap, Pie Chart etc. One of my reports requires the parsing of column values. The column values are stored in an encrypted format and need to decrypt before displaying to the Grafana. I have the decryption logic to use. Is it supported in any other plugin or any way to do decryption logic in Grafana?