StormWalkerZa Posted November 9, 2006 Report Share Posted November 9, 2006 GreetingsIs it possible to disclose how the hash value used in the webgui is calculated ??Cheers Link to comment Share on other sites More sharing options...
Ultima Posted November 10, 2006 Report Share Posted November 10, 2006 What do you mean...? All data viewed from WebUI is obtained from µTorrent itself ;o Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 10, 2006 Report Share Posted November 10, 2006 "BitTorrent uses the SHA hash function to determine which parts of the file are good and which are bad."http://en.wikipedia.org/wiki/SHA_hash_functions Link to comment Share on other sites More sharing options...
Ultima Posted November 10, 2006 Report Share Posted November 10, 2006 Indeed, but that's not how it's calculated in WebUI itself, as it's not calculated at all, but rather, obtained Link to comment Share on other sites More sharing options...
StormWalkerZa Posted November 11, 2006 Author Report Share Posted November 11, 2006 hmm, and do you know how its .... obtained ???I'd like to calculate the hash values before i send it to utorrent ...Is that possible ?? Link to comment Share on other sites More sharing options...
Ultima Posted November 11, 2006 Report Share Posted November 11, 2006 Not with WebUI, no. It is obtained, as I said, from µTorrent itself. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 11, 2006 Report Share Posted November 11, 2006 The creation of a hasvalue using SHA1 is part of the bittorrent protocol afaik. And thus every torrent client does it and they all do it internally.The hashvalue is used as an unique identification string for the data in a torrent (and thus the torrent as a whole).You have to be more clear about what you are trying to do. The webui has nothing to do with the hash except being able to display it. hash values can't and shouldn't be influenced by the end user. Link to comment Share on other sites More sharing options...
StormWalkerZa Posted November 12, 2006 Author Report Share Posted November 12, 2006 At the moment i'm capturing the torrent information into a db before i send it to utorrent.I then use the name & compare it to the list in the web ui to get the hash value which is then stored in the db.Then i have lotsa functions that i use with the info, sends sms when certain criterias are matched ... etc ...etcAt the moment the name compare is very buggy as some people use all the quation symbols which gives errors.Thats y i want to calculate what hash the file produces so i can referance the file directly without all the major scripting and processing the list every minute...should speed up and reduce load by many a % ..Cheers Link to comment Share on other sites More sharing options...
Ultima Posted November 12, 2006 Report Share Posted November 12, 2006 How, exactly, are you "capturing" the information? Link to comment Share on other sites More sharing options...
StormWalkerZa Posted November 12, 2006 Author Report Share Posted November 12, 2006 I have a php script that processes the torrent and extracts most of the info i want. Link to comment Share on other sites More sharing options...
Ultima Posted November 12, 2006 Report Share Posted November 12, 2006 I do believe PHP can read the file and process it. How to do it, I'm not sure. What's for sure, though, is that plain HTML/JavaScript can't do what you want. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.