Skip to content
/ AES.rs Public

An implementation of AES-128, AES-192, and AES-256 in Rust for Dr. Ruoti's COSC583 - Applied Cryptography at UTK F'22

Notifications You must be signed in to change notification settings

bepri/AES.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Rust implementation of AES for COSC583 @ UTK

DISCLAIMER

This was written for a university course. It is NOT a smart choice for cryptographically important applications and absolutely does not replace the rust-crypto crate.

Compiling and running

Using Cargo:

cargo run --release --

Using Rustc:

rustc src/main.rs -o aes
./aes

To run the three example inputs from FIPS 197 Appendix C:

cargo test main_tests -- --show-output

As these tests will show, I currently pass all three test cases.

To run a specific test:

cargo test main_tests::aes<KEYSIZE> -- --show-output

Resources used

The below resources are the only ones I made use of to understand and test my AES implementation.

About

An implementation of AES-128, AES-192, and AES-256 in Rust for Dr. Ruoti's COSC583 - Applied Cryptography at UTK F'22

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages