22 #include <QCryptographicHash> 
   34     Md5Sum(QFileInfo &file_info);
 
   44             return QString(checksum.toHex());
 
   52     bool compare(QFileInfo &md5_file) 
const;
 
The Md5Sum class is responsible for calculating cryptographic hashes of files (used to verify downloa...
Definition: md5sum.h:28
bool compare(QFileInfo &md5_file) const
compare reads the pre-calculated md5-sum from a checkfile and compares the hashes.
Definition: md5sum.cpp:39
const QString hashToHex() const
hashString returns a hex representation of the hash
Definition: md5sum.h:42