DC++ TigerTree Hash

Post comments about Shareaza code and discuss with other developers.
Forum rules
Home | Wiki | Rules

DC++ TigerTree Hash

Postby raspopov » 02 Sep 2010 20:06

I need code converting TigerTree hashes from Shareaza to DC++ (in "$ADCSND tthl" command) and vice versa. Its 100% compatible level 9 TigerTrees but storing format is different.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: DC++ TigerTree Hash

Postby ivan386 » 06 Sep 2010 12:34

В DC ++ кажись передаётся только один уровень в RAW виде а не всё дерево. Далее клиент по нему восстанавливает дерево и сравнивает рут хеши.

Google translated: In the DC + + is passed it would seem only one level in RAW form but not the entire tree. The client on it restores the tree, and compares the hashes Route.
Last edited by kevogod on 08 Sep 2010 03:17, edited 1 time in total.
Reason: Added Google translation
ivan386
 
Posts: 261
Joined: 17 Jun 2009 14:08

Re: DC++ TigerTree Hash

Postby ivan386 » 07 Sep 2010 13:05

Ну как показали исследования так и есть.

Я получил от флайлинка набор хешей. Поскольку они оказались все одинаковые (файл 1454845370 байт заполнен нулями) сразу понятно что это один уровень.

Далее я получил набор хешей от шарезы. Похожих там не оказалось. Увеличил глубину дерева в настройках шарезы до 10. И в конце оказались те же хеши.

Короче надо HashLib научить отдавать один уровень и из одного уровня снова выстраивать дерево.

Google translated: Well, as studies have shown it is.

I have received from flaylinka set of hashes. Since they were all identical (1,454,845,370 bytes file filled with zeros) immediately clear that this is one level.

Then I got a set of hashes from sharezy. Like there was none. Increase the depth of the tree in the settings sharezy to 10. And in the end proved to be the same hash.

In short HashLib must teach to give the same level and from one level to build a tree again.
Attachments
Shareaza and FlyLink.zip
Added Google translation
(1.76 KiB) Downloaded 123 times
ivan386
 
Posts: 261
Joined: 17 Jun 2009 14:08

Re: DC++ TigerTree Hash

Postby acerswap » 07 Sep 2010 14:10

English, please.
acerswap
 
Posts: 74
Joined: 16 Jun 2009 18:55


Return to Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron