Crates.io | libaes |
lib.rs | libaes |
version | 0.7.0 |
source | src |
created_at | 2020-09-14 06:23:35.8928 |
updated_at | 2023-10-01 18:39:34.895756 |
description | AES cipher in safe Rust with no dependencies |
homepage | |
repository | https://github.com/keepsimple1/libaes |
max_upload_size | |
id | 288495 |
size | 87,379 |
This is a small implementation of AES in safe Rust, with no dependencies. The core algorithm is ported
from AES core of OpenSSL 1.1.1 stable.
It is hardware-independent and fast (for example, as of January 2021, its AES-128 CBC mode is more than 3X faster than
RustCrypto aes
+ block-modes
crates,
see benchmark).
Currently, this library supports:
See Documentation for examples and tests.
We use the test data in NIST Special Publication 800-38A to verify the cipher, see the test code.
Tested against Rust 1.46.0
Licensed under either of
at your option.
Contributions are welcome! Please open an issue in GitHub if any questions.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the above license(s), shall be dual licensed as above, without any additional terms or conditions.