emule sha specs

Endgame analysis using tablebases, EGTB generation, exchange, sharing, discussions, etc..
Post Reply
User avatar
jshriver
Posts: 298
Joined: Tue Jan 31, 2006 5:59 am
Sign-up code: 0
Location: Toledo, OH, USA
Contact:

emule sha specs

Post by jshriver »

Anyone know what form of sha emule uses for data integrity?

I'm working on my verification program, implemented md5sum checks, and wanted to move on to sha. Since emule uses sha, it would make gathering the shasums for all the files easier :)

Thanks for your time
-Josh
guyhaw
Posts: 489
Joined: Sat Jan 21, 2006 10:43 am
Sign-up code: 10159
Location: Reading, UK
Contact:

File-signature utilities 'out there'

Post by guyhaw »

If you are just checking the integrity of the EGT files, there are utilities out there - no need to cut code yourself, unless it's a self-imposed programming exercise:

Lofflman's JACKSUM, http://www.jonelo.de/java/jacksum/ is platform independent
Slavasoft's FSUM, http://www.slavasoft.com/fsum/, is Windows-specific I think: works v well for me on the MD5 and eDonkey file-signatures.

g
User avatar
Pachnes
Posts: 89
Joined: Sun Jun 25, 2006 7:30 pm
Sign-up code: 0
Location: Germany

As far as I do understand. they use md4 and sha1.

Post by Pachnes »

Hi Josh,

I looked up the source of eMule 0.47c, and as far as I do understand it, they use md4 for filehash and sha1 for roothash.

Do not oversee the parameter "-eDonkey" at the website of "fsum", which was posted by guyhaw. eDonkey and eMule do use different methods.

Just search for "hashing" at http://forum.emule-project.net :

Also see http://prdownloads.sourceforge.net/emul ... _guide.pdf

BTW:

I tried to compile the source and it did compile well at first try to an emule.exe on my machine with MS Visual C++ 2002 Standard compiler.
Regards,

Thomas
Post Reply