Fwd: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table

Hi All,

I've figured this out myself... but I thought I might just let the list
archives know so that others don't need to work it out for themselves.

To create a md5 password suitable for use in the PostgreSQL pg_shadow
table:

$md5_passwd = 'md5' . md5( $password . $username );

The username acts as salt.


Matthew.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org
Matthew Horoschun [ Di, 21 Januar 2003 01:14 ] [ ID #31201 ]
Datenbanken » gmane.comp.db.postgresql.php » Fwd: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table

Vorheriges Thema: empty
Nächstes Thema: pg_field_size