22 #include <QCryptographicHash> 
   34     AHash(QFileInfo &file_info);
 
   43             return QString(checksum.toHex());
 
   51     bool compare(QFileInfo &md5_file);
 
The AHash class is responsible for calculating cryptographic hashes of files (used to verify download...
Definition: ahash.h:28
const QString hashToHex()
hashString returns a hex representation of the hash
Definition: ahash.h:41
AHash(QFileInfo &file_info)
AHash - calculates the MD5-checksum for the parameter given in the constructor and saves the result i...
Definition: ahash.cpp:21
bool compare(QFileInfo &md5_file)
compare reads the pre-calculated md5-sum from a checkfile and compares the hashes.
Definition: ahash.cpp:39