33 releases
new 0.6.12 | Nov 5, 2024 |
---|---|
0.6.7 | Sep 23, 2024 |
0.6.6 | Jun 10, 2024 |
0.6.2 | Nov 30, 2023 |
0.2.2 | Oct 20, 2021 |
#1158 in Cryptography
728 downloads per month
Used in 3 crates
1MB
8K
SLoC
Contains (static library, 145KB) wasm-libs/libaegis.a
AEGIS for Rust
This is a Rust implementation of AEGIS.
AEGIS is a new family of authenticated encryption algorithms, offering high security and exceptional performance on modern desktop, server, and mobile CPUs.
API documentation
Cargo flags
-
std
: allow dynamic allocations. This is the default. -
pure-rust
: don't use thecc
crate to take advantage of the implementations fromlibaegis
. Setting this flag will substantially degrade performance, and parallel variants will not be available. -
rustcrypto-traits-06
: add traits fromrust-crypto/aead
version 0.6. Alternative interfaces are available in thecompat
namespace.
Benchmarks
AEGIS is very fast on CPUs with parallel execution pipelines and AES support.
Benchmarks can be reproduced using export CC="clang -O3 -march=native"
and the cargo bench
or cargo-zigbuild bench
commands.
For performance, clang
is recommended over gcc
.