Open ghost opened 5 years ago
same: ASSERT: "size_t(i) < size_t(size())" in file ../../inst2/6.2.2/mingw_64/include/QtCore/qbytearray.h, line 501 ../../inst2/6.2.2/mingw_64/include/QtCore/qbytearray.h: 501
QByteArray KEY = m_key.toUtf8(); QAESEncryption encryption(QAESEncryption::AES_128, QAESEncryption::ECB); encodedFileByte = encryption.encode(decodedFileByte, KEY); //here everything crashes
i think it necessary to run using cmake
how big is your KEY? since I can you use the lib with qmake and everything works fine.
ASSERT: "uint(i) < uint(size())" in file C:/Qt/5.12.0/mingw73_64/include/QtCore/qbytearray.h, line 481 it do this when it goes to the line 416 qaesencryption.cpp QByteArray expandedKey = expandKey(key); windows 7 qt 5.12