mirror of
https://github.com/QuasarApp/Qt-AES.git
synced 2025-05-06 18:29:34 +00:00
Update README.md
This commit is contained in:
parent
839c544555
commit
a74a46e08e
@ -88,6 +88,8 @@ Static invocation without creating instances, 256 bit key, ECB mode, starting fr
|
|||||||
//Static invocation
|
//Static invocation
|
||||||
QByteArray encrypted = QAESEncryption::Crypt(QAESEncryption::AES_256, QAESEncryption::CBC,
|
QByteArray encrypted = QAESEncryption::Crypt(QAESEncryption::AES_256, QAESEncryption::CBC,
|
||||||
inputStr.toLocal8Bit(), hashKey, hashIV);
|
inputStr.toLocal8Bit(), hashKey, hashIV);
|
||||||
|
//...
|
||||||
|
// Removal of Padding via Static function
|
||||||
QString decodedString = QString(QAESEncryption::RemovePadding(decodeText));
|
QString decodedString = QString(QAESEncryption::RemovePadding(decodeText));
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user