Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 8th, 2008
Apprentice
 
Join Date: October 16th, 2008
Posts: 5
AussieGuy is flying high
Default 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
Reply With Quote
  #2 (permalink)  
Old November 10th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

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.
__________________

-> 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:24 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.