scram-sha-256

This is a password-encryption tool for PostgreSQL. The source code is here.