Class InfoHash
java.lang.Object
com.frostwire.jlibtorrent.InfoHash
Class holding the info-hash of a torrent. It can hold a v1 info-hash
(SHA-1) or a v2 info-hash (SHA-256) or both.
If !has_v2() then the v1 hash might actually be a truncated v2 hash.
-
Constructor Details
-
InfoHash
-
InfoHash
public InfoHash()
-
-
Method Details
-
swig
-
hasV1
public boolean hasV1() -
hasV2
public boolean hasV2() -
getBest
-
getV1
-
getV2
-