Overview
RustVault is a high-performance encrypted file storage system built entirely in Rust. It features zero-copy I/O operations, AES-256 encryption at rest, and a minimal CLI interface for managing secrets and sensitive files.
Architecture
- Zero-copy I/O using memory-mapped files for maximum throughput
- AES-256-GCM encryption with authenticated encryption
- Argon2id key derivation from passphrases
- B-tree indexed file catalog for fast lookups
Usage
rustvault init --vault ~/secrets
rustvault store --file api-keys.env --tag production
rustvault retrieve --tag production --output ./keys
Performance
RustVault can encrypt and store files at near-disk-speed thanks to zero-copy I/O and streaming encryption. Benchmarks show 2.3GB/s throughput on NVMe storage.