23 #include <QSslCertificate>
58 Hash(
const quint32 aHash160bits[KNumberOfIntsInHash]) ;
67 Hash(
const quint32 aBits1,
71 const quint32 aBits5) ;
78 Hash(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
91 Hash(
const char* aHexString,
int aHexStringLen) ;
97 Hash(
const QSslCertificate& aSslCert) ;
183 void setFromCharArray(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
void fromString(const unsigned char *aBuf)
quint32 iHash160bits[KNumberOfIntsInHash]
Definition: hash.h:201
void calculate(const QByteArray &aBuf)
bool operator<(const Hash &aHashToCompare) const
Hash is class that carries 160-bit digest.
Definition: hash.h:37
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:44
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