An AES Toolbox for computing Rijndael key schedule given a 128, 192, or 256-bit key.
Project description
AES-Toolbox
An AES Toolbox for computing Rijndael key schedule given a 128, 192, or 256-bit key.
Documentation: https://aestoolbox.readthedocs.io.
Features
Encryption/Decryption Key Scheduling
AES Encrypt/Decrypt (work in progress)
Installation
Stable release via pip
To install AES-Toolbox, run this command in your terminal:
$ pip install aestoolbox
If you don’t have pip installed, this Python installation guide can guide you through the process.
Using AES-Toolbox
Usage (via CLI)
$ aes-schedule [-h] [-v] [-i] key
$ aes-schedule 0x0101010102020202030303030404040 -i -v
The above command should output:
{'xk':
{0: '0x01010101020202020303030304040404',
1: '0xf2f3f3f3f0f1f1f1f3f2f2f2f7f6f6f6',
2: '0xb2b1b19b4240406ab1b2b2984644446e',
3: '0xadaa2ec1efea6eab5e58dc33181c985d',
4: '0x39ec626cd6060cc7885ed0f4904248a9',
5: '0x05beb10cd3b8bdcb5be66d3fcba42596',
6: '0x6c812113bf399cd8e4dff1e72f7bd471',
7: '0x0dc98206b2f01ede562fef3979543b48',
8: '0xad2bd0b01fdbce6e49f4215730a01a1f',
9: '0x568910b44952deda00a6ff8d3006e592',
10: '0x0f505fb04602816a46a47ee776a29b75'},
'xki':
{0: '0x01010101020202020303030304040404',
1: '0xfdfafef8fff8fcfafcfbfff9f8fffbfd',
2: '0xc263931b3d9b6fe1c1609018399f6be5',
3: '0x70e738474d7c57a68c1cc7beb583ac5b',
4: '0xa68450a9ebf8070f67e4c0b1d2676cea',
5: '0xb86800d6539007d93474c768e613ab82',
6: '0xffd917eeac491037983dd75f7e2e7cdd',
7: '0xe238ed774e71fd40d64c2a1fa86256c2',
8: '0xc20b68478c7a95075a36bf18f254e9da',
9: '0x7edace11f2a05b16a896e40e5ac20dd4',
10: '0x0f505fb04602816a46a47ee776a29b75'}}
Disclaimer
AES-Toolbox implementations should not be used in security software or production environments. The AES-Toolbox is for research purposes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aestoolbox-0.0.4.tar.gz
.
File metadata
- Download URL: aestoolbox-0.0.4.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c87ee1ebbfd588ffe2c13be73fbdb4da7fcebbde00b35ffc959d6d6ca62dc236 |
|
MD5 | c49491097ff78116c12c7bd9082ec636 |
|
BLAKE2b-256 | 214f6886ba56001cdbdf2053a7f9d627e6533f0b6c5d73ea3fefd51a3e42eb6e |
File details
Details for the file aestoolbox-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: aestoolbox-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2230b693e681edb54b2f6f4ca3ceeabfc956db5b0a5e9d5083caad4d72351105 |
|
MD5 | 369d38314856f89183806be450cfd80c |
|
BLAKE2b-256 | ce8fdcd8be6bcccea99ab0602fb165198b5c6eaaf897d31a98c3808bd39f8c25 |