mirror of
https://github.com/QuasarApp/Qt-AES.git
synced 2025-05-10 20:19:33 +00:00
fixed size for blocklen
This commit is contained in:
parent
4a06e8728a
commit
9537c6e5ad
@ -221,7 +221,7 @@ void AesTest::CBC256StringEvenPKCS7()
|
||||
|
||||
//16 byte string
|
||||
QString inputStr("1234567890123456");
|
||||
int blockLen = inputStr.length();
|
||||
int blockLen = 16;
|
||||
QString key("123456789123");
|
||||
|
||||
QByteArray hashKey = QCryptographicHash::hash(key.toLocal8Bit(), QCryptographicHash::Sha256);
|
||||
|
Loading…
x
Reference in New Issue
Block a user