pq-envelope 0.1.0

Post Quantum Hybrid Encryption for multiple recipients
Documentation

pq-envelope

Crate Docs Apache2/MIT licensed Downloads build MSRV

Post Quantum Safe Hybrid Encryption for multiple recipients.

NOTE on AES

To speed up AES, there are a few options available:

  • RUSTFLAGS="--cfg aes_armv8" cargo build --release ensures that the ARMv8 AES instructions are used if available.

By default, the aes feature auto-detects the best AES implementation for your platform for x86 and x86_64, but not on ARMv8 where it defaults to the software implementation as of this writing. To enable the ARMv8 AES instructions, the aes_armv8 feature is enabled in the .cargo/config file in this crate.

Enabling aesni provides the fastest Aes algorithm.

NOTE on SHAKE

Shake auto detects the best implementation for your platform.

License

Licensed under

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.