QT md5 != php md5 ?
I just start to use the QCryptographicHash class for a project who has to use a database with password stored by php in md5.
for simple string like “test” the results are the same. But with string like “iiFFaa42” it’s wrong.
I use Qt like that : std::string hash = QCryptographicHash::hash(“test”,QCryptographicHash::Md5).toHex().constData();
and php like that : md5(“test”);
for exemple my result for the string “iiFFaa42” are :
thanks for your time