updated readme

This commit is contained in:
Matteo Brichese 2018-04-05 16:13:03 -07:00 committed by GitHub
parent e5f942d924
commit e0d35f2fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,14 +26,20 @@ QAESEncryption::Crypt => encode(...)
QAESEncryption::Decrypt => decode(...)
QAESEncryption::ExpandKey => expandKey(...)
```
#### Modes
The class supports the following operating modes
* ECB
* CBC
* CFB
* OFB
#### Padding
By default the padding method is `ISO`, however, the class supports:
```
ZERO
PKCS7
ISO
```
* ZERO
* PKCS7
* ISO
### Example
Sample code using a 128bit key in ECB mode