UUHash

UUHash

UUHash is a hash algorithm employed by clients on the FastTrack network. It is employed for its ability to hash very large files in a very short period of time, even on older computers. However, this is achieved by only hashing a fraction of the file. This weakness makes it trivial to create a hash collision, allowing large sections to be completely altered without altering the checksum.

This method is used by Kazaa and is exploited by anti-p2p agencies to corrupt downloads.

How it works

UUHash will hash the first 300 kilobytes using MD5 and then apply a "smallhash" function (identical to the CRC32 checksum used by PNG) to 300 KB blocks at file offsets 2"n" MB with n being an integer incremented from 0 until the offset reaches end of file. Finally the last 300 KB of the file are hashed. If the last 300 KB of the file overlap with the last block of the 2"n" sequence this block is ignored in favor of the file end block.

So, for example:

:offset 1 MB, 300 KB hashed:offset 2 MB, 300 KB hashed:offset 4 MB, 300 KB hashed:offset 8 MB, 300 KB hashed:...:last 300 KB of file hashed

The 128 bit MD5 hash and the 32 bit "smallhash" are then concatenated yielding the 160 bit hash used to identify files on the FastTrack network.

The actual hash used on the FastTrack network is a concatenation of 128 bit MD5 of the first 300 KB of the file and a sparse 32 bit "smallhash" calculated in the way described above. The resulting 160 bits when encoded using Base64 become the UUHash.

ig2Dat

The name UUHash is an unfortunate choice and derives from the [http://www.geocities.com/vlaibb/tools.html sig2dat] utility which creates URIs referencing files on Kazaa. These URIs are of the form: sig2dat://|File: surprise.mp3|Length:5845871Bytes|UUHash:=1LDYkHDl65OprVz37xN1VSo9b00=

Not considering the fact that this URI format is not RFC conformant, it is clear that UUHash refers to the Base64-encoding of the hash and not the hash itself.

External links

* [http://www.slyck.com/story1019.html How Overpeer was able to corrupt data on the FastTrack network]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • UUHash — ist ein Hash Algorithmus der von Clients des FastTrack Netzwerks benutzt wird. In kurzer Zeit können Prüfsummen für sehr große Dateien erstellt werden, auch auf leistungsschwachen Computern. Allerdings wird nur für einige Teile der Datei die… …   Deutsch Wikipedia

  • Fasttrack — ist ein semi dezentrales Peer to Peer Netzwerkprotokoll, das von Filesharing Programmen wie KaZaA und MLDonkey genutzt wird. FastTrack war Anfang 2003 das beliebteste Tauschbörsennetzwerk. Hauptsächlich auf den Austausch von MP3 Dateien… …   Deutsch Wikipedia

  • FastTrack — is a peer to peer (P2P) protocol, used by the Kazaa (and variants, Grokster and iMesh) file sharing programs. The file sharing application Morpheus originally used this network, but was later banished from it because of licensing disputes.In 2003 …   Wikipedia

  • FastTrack — ist ein semi dezentrales Peer to Peer Netzwerkprotokoll, das von Filesharing Programmen wie KaZaA und MLDonkey genutzt wird. FastTrack war Anfang 2003 das beliebteste Tauschbörsennetzwerk. Hauptsächlich auf den Austausch von MP3 Dateien… …   Deutsch Wikipedia

  • Supernode — Als Supernode wird ein Computer bezeichnet, der als Knotenpunkt in einem Peer to Peer Netzwerk dient. Supernodes agieren als vorübergehende Indexserver für andere langsamere Clients und erhöhen somit die Skalierbarkeit des Netzwerks. Die… …   Deutsch Wikipedia

  • Partage de fichiers en pair à pair — Un partage de fichiers en pair à pair est un réseau qui permet de partager des fichiers entre plusieurs ordinateurs connectés entre eux par Internet. Chaque internaute pouvant être serveur et receveur d’un autre internaute. Ils forment ainsi des… …   Wikipédia en Français

  • FastTrack — Saltar a navegación, búsqueda FastTrack es un protocolo de red en donde se pueden intercambiar archivos, como música, documentos, entre otros. Se caracteriza por el uso innovador de supernodos para aliviar la carga de los servidores empleados en… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”