2025-12-10 15:27:26 -08:00
..
2025-12-10 15:27:26 -08:00

Crypto

This crate contains Spacedrive's cryptographic modules.

This includes things such as:

  • Encryption and decryption

It has support for the following cryptographic functions:

  • XChaCha20-Poly1305

It aims to be (relatively) lightweight, easy to maintain and platform-agnostic where possible. It does contain some platform-specific code, although it's only built if the target matches.

Security Notice

This crate has NOT received any security audit - however, a couple of our upstream libraries (provided by RustCrypto) have.

You may find them below:

  • XChaCha20-Poly1305 audit by NCC group (link)

Breaking changes are very likely! Use at your own risk - no stability or security is guaranteed.