C++20 • OpenSSL 3 • PKCS#11 HSM • mTLS 1.3

Zero-Knowledge Banking Storage. Mathematically Blind to the Cloud.

Scrub customer identities inside your bank perimeter, seal records into standardized 64 KiB encrypted buckets, and enforce offline 2-of-3 officer approval before anything can be read again. Even a compromised cloud host sees zero PII, zero sizes, and zero keys.

Egress Transformation Preview Auto-cycling
Trusted On-Premise Input 124 B raw row
Customer Ahmed Hassan
National ID 30108110101000
IBAN EG38...263181000
Source IP 41.48.192.14
Amount 14,250.00 EGP
Merchant Carrefour-Maadi
Interactive X-Ray Demo

See What the Cloud Sees vs. What Officers Unlock

Flip between the untrusted remote storage server and the bank's 2-of-3 quorum console. Notice how missing cloud nodes recover automatically, and how 1 officer alone stays locked out.

0 Bytes PII Exposed REDACTED_IP No Keys Present 65,568 B Fixed Bucket
vault_batch_1795202723940_0.enc AAD Bound: filename || chunk_id || is_final
00000000: 42 56 4c 33  a8 19 c4 02  77 f1 09 e3  00 00 00 00  |BVL3....w.......|
00000010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  |................|
00000020: ff e4 91 c2  4b 88 10 3d  e9 2a 74 c5  60 1b 55 f9  |....K..=.*t.`.U.|
00000030: 8c 37 a0 1d  94 6f 28 e1  07 c3 b5 42  9a 61 d8 12  |.7...o(....B.a..|
00000040: 53 7e 04 b1  c9 82 6d 30  f4 15 9b a6  42 0e 77 83  |S~....m0....B.w.|
...
0000fff0: 7a 0c f3 91  b2 48 6e 19  88 d4 a1 55  03 e7 29 c0  |z....Hn....U..).|
[65,536 bytes opaque AES-256-GCM frame + CSPRNG noise padding]

2-of-3 Distributed Erasure Shards

Ciphertext is XOR-split across 3 independent nodes. No single shard reveals data, and any 2 reconstruct the exact blob.

Shard 0 · s3://shard0 Data Slice A (32.02 KiB)
Online
Shard 1 · s3://shard1 Data Slice B (32.02 KiB)
Online
Shard 2 · s3://shard2 XOR Parity A⊕B (32.02 KiB)
Online
Normal Mirroring Active: Primary `.enc` blob verified intact alongside 3 healthy shards.
Core Architecture at a Glance

Six Layers of Defense Between Your Records and the Cloud

Every security boundary works independently—so even if one layer is stressed or offline, customer identities and keys remain mathematically out of reach.

O(1)-RAM Streaming Tokenizer

Scrubs names, National IDs, IBANs, and IPs line-by-line into TOK_<16-hex> without loading whole batches into RAM.

line stream → ~64 KiB buffer → TOK_bd40...

Chunked BVL3 AEAD & 64 KiB Padding

Fixed 65,536-byte AES-256-GCM frames with per-chunk nonces and CSPRNG noise padding prevent file-size traffic inference.

Frame 0 Frame 1 64 KiB Pad

Offline 2-of-3 Ed25519 Quorum

Gateway stores only officer *.pub keys; unmasking requires 2 offline signatures bound to a single-use nonce and UTC expiry.

Officer 1 ✓ Officer 2 ✓ No .priv on host

PKCS#11 HSM & RFC 3394 Wrapping

Non-extractable Master KEK (CKA_EXTRACTABLE=FALSE) wraps per-batch DEKs with crash-safe KEK rotation and RAM zeroization.

DEK ──RFC 3394──▶ HSM Chip

2-of-3 XOR Erasure Shards

Splits ciphertext across local disk or 3 S3/MinIO buckets (AWS SigV4) with automatic SHARD_RECOVERY if a cloud node fails.

s0 s1 s2 Any 2 = 100%

Mutual TLS 1.3 & Qt 6 Console

Strict SHA-256 certificate fingerprint allowlisting plus a 3-tab desktop operations console (BlindVault_GUI).

TLS 1.3 Pinned Build GUI →
Companion Network Switchboard

BlindVault-Control: Reach Peers Anywhere Without Surrendering Privacy

Pair sending and receiving BlindVault nodes behind home or office firewalls using an 8-character invite code. blindvault-control discovers your external address, introduces peers via ephemeral Redis state, and relays locked TLS 1.3 streams if direct TCP is blocked—without ever logging files, histories, or keys.

BlindVault receive 8443 ./received --control http://control.local:8000 --invite
BVST
Ed25519 UDP Reflector Signed external IP:port discovery resistant to NAT spoofing.
ECDSA
Zero-Graph Matchmaking EC P-256 challenge auth + 8-char Crockford invite codes stored in TTL Redis.
WSS
Blind Binary Relay + Pub/Sub Forwards end-to-end mTLS 1.3 chunks via Bearer headers across replicas.
Measured C++20 Performance

Wire-Speed Privacy With Minimal Latency Overhead

Benchmarked via Google Benchmark (bench_vault) on 8 cores @ 2,419 MHz. Zero-copy field parsing and hardware AES keep compliance virtually invisible.

4.90M rec/s
HMAC PII & IP Tokenization
595.96 MiB/s • 2.15 ms / 10k rows
3.02 GiB/s
AES-256-GCM + 64 KiB Pad
171 µs for 512 KiB payload
1.92 GiB/s
2-of-3 XOR Erasure Split
134 µs for 256 KiB blob
561k rec/s
End-to-End Egress Pipeline
18.8 ms for 10,000 rows • 68.25 MiB/s
Developer & Operator Quickstart

Up and Running in Minutes

Choose your workflow below—from core mTLS transfers and offline compliance quorum ceremonies to HSM hardware keys and the Qt 6 desktop app.

# 1. Build BlindVault CLI & test suite (Ubuntu 24.04 / WSL2)
git clone https://github.com/OmarAhmedTHE25th/BlindVault.git
cd BlindVault
cmake -S . -B build -G Ninja
cmake --build build

# 2. Initialize EC P-256 identities & pin peer fingerprints
./build/BlindVault init gateway_node
./build/BlindVault fingerprint
./build/BlindVault trust add <PEER_SHA256_FINGERPRINT> cloud_vault

# 3. Transfer over mutual TLS 1.3 (direct or via blindvault-control)
./build/BlindVault receive 8080 ./cloud_received
./build/BlindVault send 127.0.0.1 8080 ./payload.enc