Fwd: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table - Mailing list pgsql-php

From Matthew Horoschun
Subject Fwd: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table
Date
Msg-id 4E773CE0-2CD5-11D7-B205-000393B3A702@canprint.com.au
Whole thread Raw
List pgsql-php
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.


pgsql-php by date:

Previous
From: Matthew Horoschun
Date:
Subject: Re: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table
Next
From: Fery@mik.co.id
Date:
Subject: Re: Creating md5 passwords in PHP for the PostgreSQL pg_shadow table