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 May 20th, 2002
Stig
Guest
 
Posts: n/a
Default Hash questions

Hi!
Nice if someone could give me a minute to explain som hash basics for me.

Is hashing a technique that tries to make an unique value out of a file? Can I calculate the average hex value of the bytes in a file and call it the files hash value?

Does Metadata screw up the hash?

Can Evil Forces fool the hash system? Like, can I make a (copy of a) file that has the same name, filesize and hash as the original, in order to f*** with those who want to download the file?

Kaya_man, do you smoke hash?

Thanks!

Stig Eide, (stigeide@yahoo.com)
Reply With Quote
  #2 (permalink)  
Old May 20th, 2002
Gnutella Veteran
 
Join Date: September 21st, 2001
Posts: 110
gnutellafan is flying high
Default Re: Hash questions

>Is hashing a technique that tries to make an unique value out of a file?

Yes


>Can I calculate the average hex value of the bytes in a file and call it the files hash value?

No (or at least I really dont think so)


>Does Metadata screw up the hash?

Different Metadata will result in different hash values (but then they are different files)


>Can Evil Forces fool the hash system? Like, can I make a (copy of a) file that has the same name, filesize and hash as the original, in order to f*** with those who want to download the file?

You could lie and say that you have a file with hash value X but when I dl and calculate the value I can see that you lied. Of course I have to have the full file if the hash value is from a full file hash. If I got different parts of the file from different sources I couldnt tell which one sent me the bad data. This is solved with the Partial File Sharing Protocol (see my post in this forum)
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
hash trees DJ, Memphis, TN Download/Upload Problems 2 January 26th, 2005 04:35 PM
re-search by hash osu_uma New Feature Requests 4 June 24th, 2003 10:19 PM
Searching by Hash Value kkramer10 Searching 0 April 28th, 2003 07:59 AM
help with hash apextheory00 Support: General 1 December 2nd, 2002 06:48 PM
Hash dimagor LimeWire Beta Archives 14 July 1st, 2002 06:58 PM


All times are GMT -7. The time now is 03:01 AM.


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.