mirror of
https://github.com/kartikay-bagla/aes-python-learning.git
synced 2026-11-05 18:31:44 +00:00
No description
- Python 59.8%
- HTML 40.2%
| .github/workflows | ||
| aes_encryption | ||
| generate_s_box | ||
| .gitignore | ||
| main.py | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
AES Encryption
This is my implementation of the AES algorithim. Mostly intended as a learning project. Definitely would not recommend using this in any kind of production scenario.
Installation/Setup
Python >= 3.10 and poetry (can be installed with pip install poetry). The other dependencies will be installed by poetry.
Running
poetry run python main.py --help to get all the arguments.
Generate S-Box Mapping
The S-Box table was lifted from wikipedia and was used to generate the mapping.
To generate the output, run poetry run python generate_s_box/parse_s_box_table.py. It will use generate_s_box/s_box_table.html and generate_s_box/inverse_s_box_table.html.