Forums / Developer / How to hash / Comment44867

Author Topic

Lazaro Ferreira

Wednesday 07 December 2005 11:57:48 am

Comment44867

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 Exponential 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