Page 1 of 1

emule sha specs

Posted: Thu Sep 21, 2006 7:52 am
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

File-signature utilities 'out there'

Posted: Thu Sep 21, 2006 10:00 pm
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

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

Posted: Thu Sep 21, 2006 10:55 pm
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.