mirror of
https://github.com/QuasarApp/Qt-AES.git
synced 2025-05-04 09:19:35 +00:00
Merge pull request #3 from fetzerch/qt5.5
Fix compatibility with Qt 5.5
This commit is contained in:
commit
8b58ac9a3b
@ -353,7 +353,9 @@ QByteArray QAESEncryption::encode(const QByteArray rawText, const QByteArray key
|
||||
QByteArray alignedText(rawText);
|
||||
QByteArray ivTemp(iv);
|
||||
|
||||
alignedText.append(getPadding(rawText.size(), m_blocklen), 0); //filling the array with zeros
|
||||
//Fill array with zeros
|
||||
QByteArray padding(getPadding(rawText.size(), m_blocklen), 0);
|
||||
alignedText.append(padding);
|
||||
|
||||
//Preparation for CFB
|
||||
if (m_mode == CFB)
|
||||
|
Loading…
x
Reference in New Issue
Block a user