18 questions
0
votes
2
answers
836
views
Unable to create a torrent's info hash
I'm having trouble finding the issue with how I'm generating the corresponding info hash for a torrent file. This is the code I have so far:
InputStream input = null;
try {
MessageDigest sha1 = ...
0
votes
1
answer
4k
views
How do I convert a base64 encoded torrent info_hash to a magnet link info_hash? (Linux)
I have a list of base64 encoded info_hashes such as:
GiQilvwxZ4LUpJ/NpVUv9f7tV8s=
But when I run echo ... | base64 -d, it doesn't give me the real infohash, but a bunch of gibberish block characters....
2
votes
2
answers
1k
views
Translating info_hash in the announce request of a torrent in PHP
I'm having an issue to understand how can I "translate" the info_hash value to a real hash.
Here's an example of what I'm getting from uTorrent when it's announcing to my tracker:
{
passkey: ...
46
votes
3
answers
83k
views
What exactly is the info_Hash in a torrent file
I am reading lately a lot about hash from torrents, and magnetic links, etc. But there is a question I don't understand.
I have:
hash of a file
and the infohash of a torrent
Is the infohash = hash ...
2
votes
1
answer
2k
views
python libtorrent How I get file list of torrent from info_hash?
def magnet2torrent(id, info_hash):
info_hash_id=id
magnet="magnet:?xt=urn:btih:"+info_hash
ses = lt.session()
params = {
'save_path': './',
'duplicate_is_error': ...
6
votes
2
answers
11k
views
Calculating the info-hash of a torrent file
I'm using C++ to parse the info hash of a torrent file, and I am having trouble getting a "correct" hash value in comparison to this site:
http://i-tools.org/torrent
I have constructed a very simple ...
1
vote
1
answer
502
views
I've written my own javascript bencode library and I still can't generate torrent info hashes?
I've searched everywhere looking for a working JavaScript Bencode module and couldn't find one so I decided to write my own for the purpose of generating torrent info hashes.
The module works to the ...
2
votes
2
answers
2k
views
Create torrent hash info
how do I generate torrent hash info on torrent files.
I have been taking a look on this example: How to calculate the hash value of a torrent using Java and am trying to convert it to C++. This is ...
3
votes
1
answer
2k
views
How to convert bit torrent info hash from Base 32 into Base 16
I have a Base32 info hash. e.g. IXE2K3JMCPUZWTW3YQZZOIB5XD6KZIEQ, and I need to convert it to base16.
How can I do it with PHP?
My code looks like this:
$hash32=strtolower($hash32);
echo $hash32; //...
0
votes
3
answers
7k
views
Magnet links library for PHP
Does anyone here know of a magnet-URI-parser for PHP? To validate it, or maybe to extract some information from it?
0
votes
3
answers
4k
views
Getting a torrent title from metadata or torrent file
Is it possible to extract the torrent title from the meta data loaded from DHT or the file downloaded from some server like TPB? any api,lib any language would do
0
votes
1
answer
644
views
How to generate all possible Torrent info hashes?
How do I generate all possible torrent info hashes? I am looking for an elegant way to do so.
python code would be immensely appreciated, any other langues are cool too.
3
votes
2
answers
4k
views
Problem creating info hash of torrent file
I'm creating a BitTorrent site.
If a user uploads a .torrent file I need to get the info hash to get more info from the tracker.
However I cannot seem to get the correct info hash from the file.
I'...
3
votes
1
answer
1k
views
MonoTorrent and metadata mode
MonoTorrent client doesn't download file from another peer using matadata mode:
var torrentDefaults = new TorrentSettings {
UseDht = true,
EnablePeerExchange = true
};
var engine = new ...
5
votes
2
answers
2k
views
Parsing a torrent file - hash info. (Erlang)
I'm trying to come up with the correct url-encoded info hash to send to the tracker in order to get the peers list.
For testing, I tried parsing the torrent in this url.
After opening the file, ...