mirror of
https://github.com/QuasarApp/Qt-AES.git
synced 2025-05-05 09:49:34 +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 alignedText(rawText);
|
||||||
QByteArray ivTemp(iv);
|
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
|
//Preparation for CFB
|
||||||
if (m_mode == CFB)
|
if (m_mode == CFB)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user