24 #include <QSslCertificate> 59 Hash(
const quint32 aHash160bits[KNumberOfIntsInHash]) ;
68 Hash(
const quint32 aBits1,
72 const quint32 aBits5) ;
79 Hash(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
92 Hash(
const char* aHexString,
int aHexStringLen) ;
98 Hash(
const QSslCertificate& aSslCert) ;
184 void setFromCharArray(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
void fromString(const unsigned char *aBuf)
quint32 iHash160bits[KNumberOfIntsInHash]
Definition: hash.h:202
void calculate(const QByteArray &aBuf)
bool operator<(const Hash &aHashToCompare) const
Hash is class that carries 160-bit digest.
Definition: hash.h:38
bool operator!=(const Hash &aHashToCompare) const
Hash operator+(const Hash &aToBeAdded) const
void setFromCharArray(const unsigned char aDigest[KNumberOfIntsInHash *4])
bool operator==(const Hash &aHashToCompare) const
static const int KNumberOfIntsInHash
Definition: hash.h:45
Hash & operator=(const Hash &aHashToSubstitute)
void fromQVariant(const QVariant &aQVariantHashValue)
QVariant toQVariant() const
Hash operator-(const Hash &aToBeSubstracted) const
Hash distanceFrom(const Hash &aHash)
bool operator>(const Hash &aHashToCompare) const