updated readme

This commit is contained in:
Matteo Brichese 2017-07-10 14:12:09 -07:00
parent e05e387b5c
commit 666e9dd004
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Qt-AES # Qt-AES
Small and portable AES encryption class for Qt. Small and portable AES encryption class for Qt.
Supports all key sizes - 128/192/256 bits - ECB and CBC modes Supports all key sizes - 128/192/256 bits - ECB, CBC and CFB modes
## Usage ## Usage
@ -81,9 +81,14 @@ Static invocation without creating instances, 256 bit key, ECB mode, starting fr
## Unit Testing ## Unit Testing
The unit testing vectors used are included in [NIST-Recommendation for Block Cipher Modes of Operation](http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf) The unit testing vectors used are included in [NIST-Recommendation for Block Cipher Modes of Operation](http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf)
## Dependencies
* qtcore
No OpenSSL required.
## Contact ## Contact
Question or suggestions are welcome! Question or suggestions are welcome!
Please use the GitHub issue tracking to report suggestions or issues. Please use the GitHub issue tracking to report suggestions or issues.
## Licence ## License
This software is provided under the [UNLICENSE](http://unlicense.org/) This software is provided under the [UNLICENSE](http://unlicense.org/)

View File

@ -4,8 +4,6 @@
#include <QCryptographicHash> #include <QCryptographicHash>
#include "qaesencryption.h" #include "qaesencryption.h"
#include <QDebug>
void AesTest::initTestCase() void AesTest::initTestCase()
{ {
quint8 key_16[16] = {0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, 0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c}; quint8 key_16[16] = {0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, 0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c};