def salt(self):
cursor = connections[PGCRYPTOAUTH_DATABASE].cursor()<EOL>cursor.execute("<STR_LIT>" % PGCRYPTOAUTH_ALGORITHM)<EOL>return cursor.fetchall()[<NUM_LIT:0>][<NUM_LIT:0>]<EOL>
Generates a salt via pgcrypto.gen_salt('algorithm').