Is Hashed Postgre SQL connection usage possible?

Hello

Is it possible connect asterisk to PostgreSql DB with hash of password of the user that we use to connect to DB?

I am looking for a solution .If ODBC is valid , can you please tell how to do with ODBC.

Would you please advise a way to achieve it.

Thanks.