Japp det skall gå, enligt en snabbsökning på google. Jag har inte testat denna funktionalitet själv ännu (installerade pg i förrigår) så förvänta dig inte att jag ska förklara hur!
-
Storing an encrypted password
[GENERAL] How to encrypt data in Postgresql
24-Jul-2003
contrib/pgcrypto enables storing of encrypted data in fields. With the functions it provides you can encrypt and store the data as well as verify passwords. -
Postgre SQL Documentation → Manuals → PostgreSQL 8.0
password_encryption (boolean)When a password is specified in CREATE USER or ALTER USER without writing either ENCRYPTED or UNENCRYPTED, this option determines whether the password is to be encrypted. The default is on (encrypt the password).
Det verkar iaf som att det går, frågan är bara om den info jag hittade är vettig!
