#include <assert.h>#include <string>#include <iostream>#include <stdio.h>#include "md5.h"Go to the source code of this file.
Defines | |
| #define | S11 7 |
| #define | S12 12 |
| #define | S13 17 |
| #define | S14 22 |
| #define | S21 5 |
| #define | S22 9 |
| #define | S23 14 |
| #define | S24 20 |
| #define | S31 4 |
| #define | S32 11 |
| #define | S33 16 |
| #define | S34 23 |
| #define | S41 6 |
| #define | S42 10 |
| #define | S43 15 |
| #define | S44 21 |
Functions | |
| QString | getMD5 (std::ifstream &stream) |
| bool | filesMatch (std::ifstream &stream, QString oldMD5) |
| bool filesMatch | ( | std::ifstream & | stream, | |
| QString | oldMD5 | |||
| ) |
Definition at line 549 of file md5.cpp.
References MD5::hex_digest().
00550 { 00551 MD5 obj( stream ); 00552 return (obj.hex_digest() == oldMD5); 00553 }
| QString getMD5 | ( | std::ifstream & | stream | ) |
Definition at line 542 of file md5.cpp.
References MD5::hex_digest().
Referenced by Album::exportSubalbumImages(), and Subalbum::importFromDisk().
00543 { 00544 MD5 obj( stream ); 00545 return obj.hex_digest(); 00546 }
1.6.2