PHP gives it to you in hex, Qt in binary. Convert it to hex using QByteArray::toHex
.
QString blah = QString(QCryptographicHash::hash(("myPassword"),QCryptographicHash::Md5).toHex())
PHP gives it to you in hex, Qt in binary. Convert it to hex using QByteArray::toHex
.
QString blah = QString(QCryptographicHash::hash(("myPassword"),QCryptographicHash::Md5).toHex())