a) you're not encoding a valid url

b) it's not safe to assume those will always be plain md5's (I never
announced this; people merely guessed, and it may change)

Joshua

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Andy Coates
Sent: Tuesday, April 11, 2006 1:27 AM
To: [email protected]
Subject: [delicious-discuss] md5 encoding for urls?



Does anyone actually know how the md5 hashes for /url/ enquiries are
formed?

I've tried doing

  $url = urlencode("http://www.someurlhere.co.uk";);
  $result = md5($url);

In PHP, but that still doesn't return the same hash as the one used by
del.icio.us. 

Does anyone have any ideas?



Andy Coates
Digital Media Developer
Web:    www.acoates.co.uk
Email:   [EMAIL PROTECTED]
Phone:  07849 090077

_______________________________________________
discuss mailing list
[email protected]
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
[email protected]
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss

Reply via email to