No description
  • Python 59.8%
  • HTML 40.2%
Find a file
2023-08-23 06:41:50 +05:30
.github/workflows Create basic workflow 2023-08-23 06:32:22 +05:30
aes_encryption chore: removed extra print statement 2023-08-23 06:41:50 +05:30
generate_s_box initial commit 2023-08-23 06:29:04 +05:30
.gitignore initial commit 2023-08-23 06:29:04 +05:30
main.py initial commit 2023-08-23 06:29:04 +05:30
poetry.lock initial commit 2023-08-23 06:29:04 +05:30
pyproject.toml initial commit 2023-08-23 06:29:04 +05:30
README.md Update README.md 2023-08-23 06:39:05 +05:30

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.

image

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.