Torrent hash calculation logic

Other platforms, generic questions.
Post Reply
bogutskyy
Newbie
Newbie
Posts: 1
Joined: Mon May 04, 2020 9:18 pm

Torrent hash calculation logic

Post by bogutskyy » Mon May 04, 2020 9:28 pm

Hi.

I am trying to use web api. After upload torrent from disk response is empty. For working with added torrent I should know hash. I can calculate it manually, but I don't know calculation logic. Can someone explain the logic? Hash is 40 symbols string. I guess it's a sha1 hash of something...

User avatar
Robolov
Global Moderator
Global Moderator
Posts: 31
Joined: Sat Dec 21, 2019 6:01 pm

Re: Torrent hash calculation logic

Post by Robolov » Fri May 08, 2020 5:08 pm

Did you check the API documentation?

Post Reply