QByteArray concat;concat.append(login.toUpper());concat.append(":");concat.append(password.toUpper());qDebug() << concat; // ASD:DSAQByteArray hash = QCryptographicHash::hash(concat, QCryptographicHash::Sha1);qDebug() << hash; // EV<"ii§paIAEO3o5+?
C++ (Qt)qDebug() << hash.toHex();