Repository navigation
CryptVault v1.0.1 - Secure File Sharing & Audit Ledger
We are excited to announce the first official release of CryptVault (v1.0.0), a secure, high-performance file sharing and encryption tool featuring a blockchain-backed audit trail and a decentralized P2P network.
Key Features
- AES-256-CBC Encryption Engine: Built from scratch with an optimized x64 Assembly path leveraging Intel AES-NI hardware instructions for maximum throughput (up to 322 MB/s).
- CPUID Auto-Detection: Automatically falls back to standard C++ implementation on systems without hardware-accelerated AES-NI support.
- PBKDF2-SHA256 & HMAC-SHA256: Key derivation with 100,000 iterations to resist brute-force attacks, combined with Encrypt-then-MAC pattern to reject tampered files before decryption.
- Blockchain Audit Trail: All operations (encrypt, decrypt, delete, key exchange) are recorded in a local, tamper-proof blockchain with SHA-256 hashing and proof-of-work mining. Reports can be exported as clean HTML logs.
- P2P Multi-User Network: Sync blockchain ledgers across multiple nodes using POSIX/Winsock sockets with longest-chain consensus.
- Zero Dependencies: Relies purely on standard operating system sockets (
ws2_32on Windows, standardpthreadson Linux) with zero third-party library installations required. - Full CLI: Comprehensive interactive command-line interface with secure password masking.
Installation & Compilation
Windows (MinGW/MSYS2)
Compile directly via the command line or using the provided Makefile:
g++ -std=c++17 -O2 -o crypt-vault.exe src/Crypt-Vault.cpp src/blockchain_audit.cpp src/p2p_node.cpp -lws2_32Linux (GCC/Clang)
Ensure build tools and pthread are available:
g++ -std=c++17 -O2 -o crypt-vault src/Crypt-Vault.cpp src/blockchain_audit.cpp src/p2p_node.cpp -lpthreadSecurity Specifications
- Algorithm: AES-256-CBC (256-bit key)
- Key Derivation: PBKDF2-SHA256 (100,000 iterations)
- Integrity Verification: HMAC-SHA256 (Constant-time validation)
- Memory Wipe: Cryptographic keys are wiped from RAM using a custom ASM
secure_memzerofunction post-execution.