Crate volaris_crypto

Source
Expand description

§What is it?

volaris-crypto is a library used for managing cryptographic functions and headers that adhere to the Volaris format.

§Security

volaris-crypto uses modern, secure and audited1 AEADs for encryption and decryption.

You may find the audits for both AES-256-GCM and XChaCha20-Poly1305 on the NCC Group’s website.

1 Deoxys-II-256 does not have an official audit, so use it at your own risk

§Who uses volaris-crypto?

This library is implemented by Volaris, a secure multi-interface file encryption utility.

volaris-crypto makes it easy to integrate the Volaris format into your own projects (and if there’s a feature that you’d like to see, please don’t hesitate to open a Github issue).

You can read more about Volaris, volaris-crypto and the technical details in the project’s main documentation!

§Thank you!

volaris-crypto exclusively uses AEADs provided by the RustCrypto Team, so I’d like to give them a huge thank you for their hard work (this wouldn’t have been possible without them!)

Modules§

cipher
This module is used for standard, typical encryption and decryption.
header
The Volaris header is an encrypted file/data header that stores specific information needed for decryption.
key
This module handles key-related functionality within volaris-crypto
primitives
This module contains all cryptographic primitives used by volaris-crypto
protected
This is a basic wrapper for secret/hidden values
stream
This module contains all of the LE31 STREAM objects and functionality

Structs§

Payload
AEAD payloads (message + AAD).

Constants§

CRYPTO_VERSION

Traits§

Zeroize
Trait for securely erasing values from memory.