Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Storj/storjtorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Brandoff committed Jan 25, 2015
2 parents 0c4264c + 5e8c137 commit 63b2a4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ Retrieve Hash of Torrent File
>>> st.get_hash([], '../path/to/your/torrentfile')
'e90e06f2a2461801ac6f7a4b4bccd7f1f16393d3'

``get_hash()`` retrieves the SHA1 hash of the specified torrent file.
This hash can be used with a magnet link to let others find and download
``get_hash()`` retrieves the SHA1 hash of the specified torrent file as a libtorrent sha1_hash object. You can apply `.to_str()
to the result to get an encoded string. This string can be used with a magnet link to let others find and download
your torrent via DHT. For example, if the command returns
``e90e06f2a2461801ac6f7a4b4bccd7f1f16393d3``, you could use a
corresponding magnet link of
Expand Down

0 comments on commit 63b2a4e

Please sign in to comment.