aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Hash values differ when done in Amule and Shareaza  (Read 1587 times)

Masterpiece

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Hash values differ when done in Amule and Shareaza
« on: March 12, 2006, 04:11:21 PM »

This is a mystery to me... I normally hash all my files in Shareaza and maintain a list of the ed2k links in a .htm file (not because I like to do it this way, but because I don't know how to export them with link wrapping and a description of filesizes in linux)

Here is the problem: I sometimes get different hashvalues when I hash the exact same file in amule and in Shareaza. But ONLY in mp3-files !  ?(

Example:

This is a edonkey link outputted from amule (this file resides on a ext3 partition):

Quote
ed2k://|file|Morgan_Reynolds_and_Eric_Hufschmid_on_key_9-11_evidence _(111605).mp3|6862027|4226E627FE8142B20FD6899768DF3F68|/


Here is the exact same file outputed from Shareaza (copied to a FAT32 partition)

Quote
ed2k://|file|Morgan_Reynolds_and_Eric_Hufschmid_on_key_9-11_evidence _(111605).mp3|6862027|54187bb8de9f93d011baf64759fee9c4|/

This should not be possible unless one of my filesystems are corrupt, the drive itself has bad sectors or otherwise is failing, as far as I know.

So I did a complete surface scan of my harddrives in both Linux and in Windows. No errors. Alle file systems are in perfect condition and there is no data loss anywhere.

What am I missing here? Is this possible under normal circumstances?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Hash values differ when done in Amule and Shareaza
« Reply #1 on: March 12, 2006, 04:52:33 PM »

I blame shareazza
Logged

Masterpiece

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Hash values differ when done in Amule and Shareaza
« Reply #2 on: March 12, 2006, 05:47:54 PM »

So do I. I just got a reply on their forum. Shareaza may disregard metadata in .mp3 files, and this would give me another hash code. But now the question is; does that mean the links I output to. my .htm file are more or less worthless to amule users?

There is no way this is how it is supposed to be, right?
Logged

Masterpiece

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Hash values differ when done in Amule and Shareaza
« Reply #3 on: March 12, 2006, 05:53:50 PM »

P.S.

This would be a really nifty feature Kry; Make amule capable of outputting ed2k links with link wrapping and filesize, so we could just paste them into a .txt file and rename the extension to.htm or whatever.

That would allow me to give Shareaza the boot...at least. *lol*

Thanks for everything by the way.
« Last Edit: March 12, 2006, 05:56:35 PM by Masterpiece »
Logged