qBittorrent
infohash.h File Reference
#include <QHash>
#include <QMetaType>
#include "base/digest32.h"
Include dependency graph for infohash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BitTorrent::TorrentID
 
class  BitTorrent::InfoHash
 

Namespaces

 BitTorrent
 

Typedefs

using SHA1Hash = Digest32< 160 >
 
using SHA256Hash = Digest32< 256 >
 

Functions

uint BitTorrent::qHash (const TorrentID &key, uint seed)
 
bool BitTorrent::operator== (const InfoHash &left, const InfoHash &right)
 
bool BitTorrent::operator!= (const InfoHash &left, const InfoHash &right)
 

Typedef Documentation

◆ SHA1Hash

using SHA1Hash = Digest32<160>

Definition at line 40 of file infohash.h.

◆ SHA256Hash

using SHA256Hash = Digest32<256>

Definition at line 41 of file infohash.h.