I am using C# with RHash in order to calculate the btih hashes of of file. Currently I'm using 3 tools in order to generate the btih hash:
rhash-1.2.9-src\bindings\mono
withlibrhash-1.2.9-win
dllrhash-1.2.9-win32
command line tool- uTorrent
The problem is that every tool generates different btih signatures for the same file (the photo was taken by me, it's royal free):
1: 2FF7858CC0A0B216C3676A807D619FA30101E45F
2: E6F07BB3C3B3B67531C84E3452980698AC1B0DAA A:\IMG_0400.JPG
3: D0B96839A14A8C45BB81AD157805AE73425998E5
For the C# hash generation I use Hasher.GetHashForFile(f.Name, HashType.BTIH);
and rhash --bith
in the cmd tool.
What am I doing wrong? Is there another way to calculate the btih?