PHP Classes

Torrent Pieces Hash Verification: Compare downloaded data with torrent data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-12 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 864 All time: 3,768 This week: 1,383Up
Version License PHP version Categories  
torrenthash 1.0Public Domain5.0PHP 5, Files and Folders, P2P
Description Author  

This package can be used to compare downloaded data with torrent data.

It can compare hashes from torrent metadata file with an actual torrent data directory to produce a report of which files or pieces need to be downloaded again and how much data remains to be downloaded in MB.

It can also be used when the original torrent data has been updated or changed for some reason.

Innovation Award  
PHP Programming Innovation award nominee
January 2009
Number 13

Prize: One book of choice by Manning
BitTorrent is a popular peer to peer program that is used to download programs and data from the Internet.

Sometimes a download needs to be interrupted due to loss of Internet connection of for some other reason.

This class can be used to determine how much data needs to be downloaded to complete an unfinished BitTorrent download.

Manuel Lemos
Picture of Charalampos Pournaris
Name: Charalampos Pournaris <contact>
Classes: 2 packages by
Country: Greece Greece
Age: 29
All time rank: 179114 in Greece Greece
Week rank: 696 Up4 in Greece Greece Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class.bdecode.php Class Bdecode class
Plain text file class.bencode.php Class BEncode class
Plain text file class.hashcheck.php Class Hash Check Class
Plain text file class.torrentfile.php Class Describes a Torrent File
Plain text file class.torrentinfo.php Class Torrent Metadata Information
Plain text file class.torrentpiece.php Class Torrent Piece Class
Accessible without login Plain text file compare_hash.php Appl. Main script file
Accessible without login Plain text file README.txt Doc. Documentation
Accessible without login Plain text file utils.php Aux. Utility functions

 Version Control Unique User Downloads Download Rankings  
 0%Total:864All time:3,768
 This week:0This week:1,383Up