If you had an account on forum.suprbay.org with at least one post, you do not need to re-register. Your account is still active and your Suprbay username and password will work.

How do I create the magnet of a file without using the torrent app ?
I calculated the SHA-1 of a downloaded file from a torrent, and that number does not match the BTIH
Please see:

This is my understanding. Hope I have got it right.

The Info Hash (BTIH) is that of the .torrent file (metafile).
The contents of the .torrent file itself can be found in the specification below.
You can google for .torrent editor, upload a sample torrent file and view the contents.

The BTIH is the 20-byte SHA-1 digest of the final .torrent file NOT the downloaded file(s).
The .torrent has a lot more info like the trackers, filename(s), SHA-1 of the pieces of the file(s) comprising the torrent etc.
If you wish to write a standalone program, for whatever reason, it needs to do all that work which goes into the creation of .torrent file.

You should be able to get the source of free bittorrent clients depending on the programming language your are using. From that you can try to cull the necessary code.
Specifically, the Info Hash is the SHA-1 of the info dictionary part of the torrent file, which does not include the tracker announce list or comments.

To generate a magnet from a file, or collection of files, first you would have to generate the bencoded info dictionary as per this specification. The SHA-1 hash of that would be used to generate your magnet link.

All that is purely academic without having a torrent client somewhere seeding the data using a torrent file with the same info hash.

Possibly Related Threads…
Thread Author Replies Views Last Post
  looking to create onion site lancerackslol 0 1,044 Aug 02, 2022, 11:32 am
Last Post: lancerackslol
  Need to create a e-shop on darkweb destructor 2 15,345 Jan 13, 2022, 00:32 am
Last Post: thealmighty580
  Angular App for TPB siyaa 17 34,078 May 21, 2020, 00:31 am
Last Post: waregim
  Building a Chat App with React.js and Chatkit ankitdixit 1 13,147 Apr 23, 2020, 08:37 am
Last Post: rohanjoshi0894
  how do I convert data in tpb dump to a magnet? polychoate 4 18,100 Sep 30, 2018, 17:46 pm
Last Post: dueda

Users browsing this thread: 1 Guest(s)