Skip site navigation (1) Skip section navigation (2)

Re: MD5 in pg and php

From: Marek Lewczuk <newsy(at)lewczuk(dot)com>
To: pgsql-php(at)postgresql(dot)org, joolz(at)xs4all(dot)nl
Subject: Re: MD5 in pg and php
Date: 2004-04-29 09:49:41
Message-ID: 4090CFB5.5030809@lewczuk.com (view raw or flat)
Thread:
Lists: pgsql-php
Joolz wrote:
>>[Marek Lewczuk schreef op 29-04-2004 09:31 +0100]
>>
> Thanks, I already found some fc1 rpm's (still in development). But can
> anyone tell me if the 7.4 internal md5() function will do the same as
> the PHP md5() function? Or do a quick select md5('apple') and let me
> know if the result is 'ae6d32585ecc4d33cb8cd68a047d8434'?
> 
> I really wouldn't like to upgrade from my current stable situation,
> only to find out that it didn't solve my original problem.
> 
> TIA!
> 

I have 7.4.1 version and "select md5('apple')" returns: 
1f3870be274f6c49b3e31a0c6728957f

But I have checked in my PHP 4.3 what will return md5('apple') and:
1f3870be274f6c49b3e31a0c6728957f

So as you see there are the same - but they are different from your result.

 

In response to

Responses

pgsql-php by date

Next:From: Bruno Wolff IIIDate: 2004-04-29 10:11:29
Subject: Re: MD5 in pg and php
Previous:From: JoolzDate: 2004-04-29 09:26:26
Subject: Re: MD5 in pg and php

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group