mirror of
https://github.com/kartikay-bagla/aes-rust.git
synced 2026-11-05 18:31:43 +00:00
Implementation of AES in rust
- Rust 100%
| .github/workflows | ||
| benches | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
AES in Rust
This is my implementation of AES in rust.
Instructions
Run aes command input_file_path output_file_path key_string where
- command can be one of
encryptordecrypt input_file_pathis path to input fileoutput_file_pathis path to output filekey_stringis a 128bit string (currently only AES-128 supported)
TODOs
Components:
- AddRoundKeys -
basic, inverse, tests - MixColumns -
basic, inverse, tests - ShiftRows -
basic, inverse, tests - SubBytes -
basic, inverse, tests - KeyExpansion -
basic, tests - Chunk Splitting and Padding -
basic - CLI -
basic - AES-192 and AES-256 support
- Multithreading
- Add support for CTR/CBR mode
- Randomly generate key and share with user