62#ifndef BACKEND_TOOLS_MD5_H
63#define BACKEND_TOOLS_MD5_H
70 void update (
unsigned char *input,
unsigned int input_length);
71 void update (std::istream& stream);
73 void update (std::ifstream& stream);
78 MD5 (
unsigned char *
string);
79 MD5 (std::istream& stream);
81 MD5 (std::ifstream& stream);
92 typedef unsigned short int uint2;
129QString
getMD5(std::ifstream& stream);
135bool filesMatch(std::ifstream& stream, QString oldMD5);
MD5 Support allows checksums to be computed for images, determing if they have changed since the albu...
void update(unsigned char *input, unsigned int input_length)
void transform(uint1 *buffer)
MD5(unsigned char *string)
static uint4 F(uint4 x, uint4 y, uint4 z)
static void FF(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static uint4 rotate_left(uint4 x, uint4 n)
static void II(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static void GG(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static uint4 G(uint4 x, uint4 y, uint4 z)
static void encode(uint1 *dest, uint4 *src, uint4 length)
static void HH(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
unsigned char * raw_digest()
static uint4 I(uint4 x, uint4 y, uint4 z)
static void memset(uint1 *start, uint1 val, uint4 length)
static uint4 H(uint4 x, uint4 y, uint4 z)
static void decode(uint4 *dest, uint1 *src, uint4 length)
static void memcpy(uint1 *dest, uint1 *src, uint4 length)
QString getMD5(std::ifstream &stream)
bool filesMatch(std::ifstream &stream, QString oldMD5)