mirror of
https://github.com/QuasarApp/Qt-AES.git
synced 2025-05-07 10:49:34 +00:00
updated readme
This commit is contained in:
parent
e05e387b5c
commit
666e9dd004
@ -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/)
|
||||||
|
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user