Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   SHA1 format for gnutella? (https://www.gnutellaforums.com/general-gnutella-development-discussion/88745-sha1-format-gnutella.html)

AussieGuy November 8th, 2008 03:19 AM

SHA1 format for gnutella?
 
Hi

Ive notice gtk-gnutella is giving a sha1 of 3UXJINW6U57KWZVCJ7M62HSSFPJJXZ5Z for one of my local files.

What encoding is this in? base64 or something? I need to know so I can do some testing. my linux "sha1" utitlity and openssl are giving sha1 in hex format so its hard to verify.

Anyone know of a utility that will give the sha1 of a file, in the encoding gnutella uses?

-Aussieguy

arne_bab November 10th, 2008 02:50 AM

The Gnutella sha1 encoding is BASE32 Uppercase.

For my own use I wrote a sha1_gnutella utility in python. You can find it in the Magma package on PyPI: Python Package Index : magma 0.3.9

Just install it to get the script sha1_gnutella.py which gives you the sha1 values of files.


All times are GMT -7. The time now is 06:09 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.