void tst_QByteArray::repeatedSignature() const { /* repated() should be a const member. */ const QByteArray string; string.repeated(3); }
QByteArray gCrypt::encodePassword(const QString &password,const QByteArray &msg,bool *ok) { QByteArray newMsg=msg.repeated(gCrypt::repeated); return gCrypt::encode(password,newMsg,ok); }