BB
Алсо можно ли подменить дату изменения? (Со взломом не связано)
Size: a a a
BB
AB
Е
BB
AB
AB
BB
if (file.open(QFile::ReadOnly))
{
QByteArray data = file.readAll();
QString hashString{ QCryptographicHash::hash(data, QCryptographicHash::Sha1).toHex() };
return hashString == remoteFileHash;
}
Е
if (file.open(QFile::ReadOnly))
{
QByteArray data = file.readAll();
QString hashString{ QCryptographicHash::hash(data, QCryptographicHash::Sha1).toHex() };
return hashString == remoteFileHash;
}
BB
BB
Е
AB
Е
BB
BB
BB
AB
Е
BB
BB