Crates.io | aegis |
lib.rs | aegis |
version | 0.6.13 |
source | src |
created_at | 2021-10-13 12:05:47.074204 |
updated_at | 2024-11-14 00:16:06.330266 |
description | AEGIS authenticated ciphers (AEGIS-128, AEGIS-256, AEGIS-128X, AEGIS-256X) |
homepage | https://github.com/jedisct1/rust-aegis |
repository | https://github.com/jedisct1/rust-aegis |
max_upload_size | |
id | 464496 |
size | 1,727,126 |
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.
std
: allow dynamic allocations. This is the default.
pure-rust
: don't use the cc
crate to take advantage of the implementations from libaegis
. Setting this flag will substantially degrade performance, and parallel variants will not be available.
rustcrypto-traits-06
: add traits from rust-crypto/aead
version 0.6. Alternative interfaces are available in the compat
namespace.
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
.