This tool provides encryption/decrytion according to AES(128) standart. The standart is based on symmetric Rijndael algorithm and regulates work with 128/192/256 bit long keys.
4
My tool works only with 128 bit length key, ie your secret key should be less than 16 symbols. The algorithm has been recognized impregnable even with this key-length.
5
[Link to the official document for details](http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf)
6
7
8
## How to use
9
10
The tool is able to encrypt anything which consist of bytes, type of file doesn't matter.
11
The first way is to put *aes128.py* in project directoty or somewhere in PYTHON PATH and import
12
13
```python
14
import aes128
15
16
cipher = aes128.encrypt(input_bytes, key)
17
message = aes128.decrypt(cipher, key)
18
```
19
20
Input and output types is described in doc strings. I assume you won't use not the English alphabet for the secret key, because ```ord()``` of symbols should return less than 255, ie we can keep it using just 1 byte per symbol.
21
22
The second way is to run *main.py* which provides a shy CLI-interface. Just run it and follow the instructions.
23
24
## Author
25
26
If you want give me feedback - feel free to contact