![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section (Get ”Phex 3.4.2.163 universal" now) |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi there
because of comparison reasons I'd like to know how Phax calculate the SHA1 hashcode. Using other programms to calculate the SHA1-hash gives me a different value than Phex does fot the same file. ![]() Can anyone help me out on this one? Jan de Echte |
|
#2
|
||||
|
||||
|
The only reason I can think of for this is, that some programs use lowercase base32 encoding for the sha1, while Gnutella always uses uppercase base32:
Base32 - Wikipedia, the free encyclopedia
__________________
-> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
|
#3
|
|||
|
|||
|
That could be the matter.
I'll try to check this out. Meanwhile; You (or anyone else) knows a programm that can generate the desired hashcode? Jan de Echte |
|
#4
|
|||
|
|||
|
PS
the hashes are fulle different, not only the upper/low cases...... |
|
#5
|
|||
|
|||
|
Phex uses source contributed from Philippe Verdy to the Bitzi project to calculate SHA1
SourceForge.net Repository - [phex] Index of /phex/trunk/src/main/java/com/bitzi/util Bitzi Bitcollider Utility Bitzi's Bitcollider SourceForge Project |
|
#6
|
|||
|
|||
|
TNX
couldn't find any full program calculating the same hash as Phex does. Gonna work with this info. Jan de Echte |
|
#7
|
||||
|
||||
|
Please try the attached python script.
__________________
-> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
|
#8
|
||||
|
||||
|
And this version (cleaned up a bit).
__________________
-> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
![]() |
|
|