Define "work" --- what are you trying to do and what is happening?
If you are using any of the standard client libraries such as libpq,
the use of password encryption should be completely transparent to
you. You certainly do not hand in a pre-encrypted password or anything
like that.
I'm connecting via a socket and using Postgres protocol version 3. I'll need to encrypt all that myself then.
I must have made a mistake somewhere else in my code, because I think I'm doing the encryption write from what James said in his reply about his python method.
-Josh