QString filePath = "/raid0/NVIDIA-Linux-x86_64-295.20.run";
QFile theFile(filePath);
theFile.open(QIODevice::ReadOnly);
QByteArray ba = QCryptographicHash::hash(theFile.readAll(),QCryptographicHash::Sha1);
theFile.close();
qDebug() << ba.toBase64().constData();
/PNLrKUBd7r7Vs9kzt0k7MVDBIw=

424

被折叠的 条评论
为什么被折叠?



