Share » Forums » Developer » How to hash

How to hash

How to hash

Wednesday 07 December 2005 7:25:07 am - 2 replies

Author Message

Lazaro Ferreira

Wednesday 07 December 2005 11:57:48 am

Hi,

It seems like remote_id hash is created as :

$this->setAttribute( 'remote_id', md5( (string)mt_rand() . (string)mktime() ) );

more info at : kernel/classes/ezcontentobject.php

I would recomend you to search for this through ezpublish kernel code, try to identify or guess the classes you need its hash for

i.e: you can find user hashes: kernel/classes/datatypes/ezuser/ezuser.php

I'm assuming ezp 3.5+

Lazaro
http://www.mzbusiness.com

William Steenbergh

Thursday 08 December 2005 12:50:25 am

Thanks, this indeed seems to be what we were looking for!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu