zks_crypt
Cryptographic primitives for the ZKS Protocol - post-quantum secure encryption.
Overview
This crate provides the core cryptographic operations for ZKS Protocol:
- Wasif-Vernam Cipher - ChaCha20-Poly1305 with XOR layer
- TRUE Random Entropy - drand beacon integration
- Recursive Chain - Key derivation with forward secrecy
- Scrambling Mode - Traffic analysis resistance
Features
- Post-quantum resistant symmetric encryption
- TRUE random entropy from drand network
- Memory-safe with automatic zeroization
- No unsafe code
Usage
use WasifVernam;
let key = ; // Use proper random key in production
let mut cipher = new?;
let encrypted = cipher.encrypt?;
let decrypted = cipher.decrypt?;
License
AGPL-3.0-only