What's the easiest way to convert a 32 character long magnet hash to 40 characters?
#1
The guide I have found suggest to write some Python script, or something like that. But I don't have time, or don't want to do that. Perhaps, not one person before had a similar problem or issue. Maybe there's a simple way, or even a 1-click way to do that? Sites like http://magnet2torrent.com/ says it is not cached. But I'm suspicious.

I have 3 torrent clients on this machine: uTorrent, qBittorrent and Transmission. With uTorrent it doesn't work at all, qBittorrent and Transmission eat the hash, but seems like a million years to download. I have a similar experience with more torrent hashes, so I don't know.

https://piratebookshelf.com/ publishes quite a few of those 32 character long hashes. Most of them say there are enough seeders. I can't get them, though.
Reply
#2
There is no such thing as convert magnet hash. Or if it does, it's irrelevant from any point of view. If you run qBittorrent I assume you are using a linux distribution (uTorrent has compatibility issues with some linux distros; especially if you run the Windows version in Wine emulator).

Anyway, it doesn't really matter. TPB uses only magnet links => the torrent is downloaded directly from the swarm or from the tracker => this can take up to 1-2 mins in the worst case. If the torrent is not seeded, it simply won't download. There's nothing you can do about it; try again later; maybe the seeder went to bed.

Changing/converting the hash will change the fingerprint and the torrent will become corrupted.
Reply
#3
Hashes CAN be represented as base 16 numbers

BUT

the reason you can't get anything from piratebookshelf is because it is a scam site. The torrents listed there don't exist.
Reply
#4
(Mar 06, 2016, 18:07 pm) pid=\136003' Wrote:Hashes CAN be represented as base 16 numbers

BUT

the reason you can't get anything from piratebookshelf is because it is a scam site. The torrents listed there don't exist.

Oh. That pretty much explains it! But it's interesting, though they want to scam advanced users with their 32 and not 40 character magnet hashes, as most people (they could possibly scam) use Windows and uTorrent, which seem to support 40 character hashes only.

By the way, I'm using Windows, too, there is also a qBittorrent client for Windows.

Also, I have seen some online discussions on you can convert 32 characters to 40 with some scripts... but thinking about hashes, yep, in general it's impossible to to convert a hash to anything useful. Maybe it's like converting 23 character hash to torrent file to 40 character hash again. I have to add, I'm not quite familiar with the underlying technology.

Whatever. Most non-scam sites really all use 40 character magnet hashes nowadays, so then, it's a non-issue.
Reply
#5
bittorrent uses a 160 bit SHA1 info hash. Those 160 bits can be represented a lot of different ways. Two methods are using a 40 character base16 (hexadecimal) string, or a 32 character base32 string. So, yes, it is possible to convert between the two.
Reply
#6
(Mar 08, 2016, 12:56 pm)Moe Wrote: bittorrent uses a 160 bit SHA1 info hash.  Those 160 bits can be represented a lot of different ways.  Two methods are using a 40 character base16 (hexadecimal) string, or a 32 character base32 string.  So, yes, it is possible to convert between the two.

If I convert a normal hash to base16/32, the client will interpret automatically the new string of characters as the original hash?
Reply
#7
A "normal" hash is base16

If you convert it to base32, some clients (and/or websites) will recognize it, depending on whether the developer implemented support. AFAIK, Tixati and qBitTorrent will, and uTorrent won't.

Note that we are not talking about encoding/decoding, we're talking about number representation only. A torrent hash is just a number like 1, 2, 3,... (in base 10 aka decimal) or 1, 10, 11, 100, 101,... (in base 2 aka binary). Torrent hashes are most commonly represented as base 16 numbers but the protocol allows for them to be represented as base 32.
Reply
#8
(Mar 06, 2016, 14:48 pm)dolly_cat Wrote: If you run qBittorrent I assume you are using a linux distribution (uTorrent has compatibility issues with some linux distros; especially if you run the Windows version in Wine emulator).
I use Windows, qBittorrent runs on Windows, uTorrent mines bitcoin on our machines: https://pirates-forum.org/Thread-Remove-...8#pid97208

Anyways, I'm still looking for the best torrent client: https://pirates-forum.org/Thread-Remove-...#pid160261
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Popular Magnet Search Engines: BT4G / BTDigg nightwalker 0 449 Sep 26, 2024, 17:27 pm
Last Post: nightwalker
  Could not download link torrent or magnet link Viper357 5 1,368 Jun 26, 2024, 06:01 am
Last Post: dueda
  Does "Avatar: The Way of Water" Require Foreign Subtitles? Mr. Kingsbury 3 1,525 Jun 07, 2024, 13:17 pm
Last Post: RobertX
  Is there a way to download high def from youtube? Ladyanne3 11 2,710 May 09, 2024, 12:35 pm
Last Post: Ladyanne3
  Anyone know of a way to anonymously mass email others? Ladyanne3 0 1,131 May 09, 2024, 10:41 am
Last Post: Ladyanne3



Users browsing this thread: 1 Guest(s)