Skip to main content
cryptography Open Source production

Quantum Vault Cryptography

Post-quantum encryption, built from scratch in Zig

Overview

A ground-up implementation of NIST's post-quantum cryptographic standards, engineered for performance and cross-platform deployment. Built in Zig with Rust FFI bindings for seamless integration into Tauri applications.

Features

  • ML-KEM-768 (FIPS 203): Post-quantum key encapsulation mechanism providing 192-bit security. Secures key exchange against both classical and quantum attacks.
  • ML-DSA-65 (FIPS 204): Post-quantum digital signature algorithm at 192-bit security. Ready for quantum-resistant transaction signing.
  • Hybrid Mode (ML-KEM + X25519): Defense-in-depth combining post-quantum lattice-based cryptography with proven classical elliptic curve Diffie-Hellman. If either algorithm is broken, the other still provides full security.
  • Automatic Key Zeroisation: All private keys are zeroed from memory on drop via SecureBytes<N>. No manual cleanup required.
  • Constant-Time Operations: Resistant to timing side-channel attacks.
  • Cross-Platform Native Libraries: Pre-built static libraries for macOS (ARM64, x86_64), Linux (x86_64), Windows (x86_64), iOS (ARM64), and Android (ARM64, ARM32).
  • C API + Rust FFI: Use from any language that can call C, with safe ergonomic Rust wrappers included.

Key Metrics

192-bit Post-Quantum Security
Algorithms
ML-KEM-768, ML-DSA-65, Hybrid ML-KEM + X25519
Standards
FIPS 203, FIPS 204
Built With
Zig 0.16+ · Rust FFI · Platform-native CSPRNG
Platforms
macOS, Linux, Windows, iOS, Android