Direct Answer & Technical Summary
Zero-knowledge encryption moves key derivation and authenticated encryption strictly onto the user's device before any network call occurs. By pairing PBKDF2-HMAC-SHA256 (600,000 iterations with a random 16-byte salt) and AES-256-GCM (NIST SP 800-38D with a random 12-byte IV), backend servers store only opaque ciphertext and cannot decrypt user records even under total infrastructure compromise.
1. The Structural Failure of Server-Side Encryption at Rest
Conventional cloud software frequently markets "AES-256 encryption at rest" as a complete privacy safeguard. In reality, disk-level encryption or cloud Key Management Service (KMS) wrappers protect primarily against physical hard drive theft inside a data center. During live operation, the application server decrypts customer payloads in memory on every request. Consequently, a single SQL injection flaw, compromised IAM credential, or misconfigured backup bucket exposes plaintext records at scale.
Under GDPR Article 25 (Data Protection by Design and by Default), organizations are encouraged to implement technical measures such as pseudonymization and cryptographic isolation that minimize breach impact. Zero-knowledge architecture fulfills this mandate mathematically rather than relying solely on access-control policies.
2. Inside the ClearLoq Client-Side Cryptographic Pipeline
When you seal a secret inside the ClearLoq AES-256-GCM Secret Vault, your browser executes four deterministic steps using the native W3C Web Crypto API (window.crypto.subtle):
- CSPRNG Salt & Nonce Generation: The browser requests 16 random bytes for a cryptographic salt and 12 random bytes (96 bits) for the GCM Initialization Vector (IV) directly from
window.crypto.getRandomValues. Never reusing an IV with the same key is mandatory under NIST SP 800-38D. - Key Stretching via PBKDF2-SHA256: Human passphrases lack uniform bit distribution. Following the OWASP Cryptographic Storage Cheat Sheet, ClearLoq stretches the passphrase across 600,000 iterations of PBKDF2-HMAC-SHA256 to derive a 256-bit symmetric key.
- Authenticated Encryption (AES-256-GCM): Plaintext is encrypted in Galois/Counter Mode, generating both ciphertext and a 128-bit authentication tag. If even a single bit of the ciphertext or IV is altered in transit, decryption fails with an immediate authentication error.
- Portable Self-Contained Packaging: Salt, IV, and authenticated ciphertext are concatenated and Base64-encoded into a portable string (
CLEARLOQ-V1:...). Optional share links embed this payload in the URL hash fragment (#vault=), which RFC 3986 specifies is never transmitted in HTTP requests to web servers.
3. Client-Side Zero-Knowledge vs. Server-Side Encryption
| Architecture Property | Client-Side Zero-Knowledge (ClearLoq) | Server-Side TLS + KMS Encryption |
|---|---|---|
| Key Generation Location | User's local browser or device memory | Remote cloud KMS or application server |
| Cipher Mode & Standard | AES-256-GCM (NIST SP 800-38D AEAD) | Often AES-256-CBC or disk-level XTS |
| Key Derivation Cost | PBKDF2-SHA256 (600,000 iterations) / Argon2id | Direct KMS key lookup (no per-user secret) |
| Database Breach Outcome | Mathematically unreadable ciphertext blobs | Plaintext exposure if server or IAM key is compromised |
| Tamper Detection | Built-in 128-bit GCM authentication tag | Requires separate HMAC verification layer |
4. Operational Considerations & Key Recovery
Because a true zero-knowledge provider cannot inspect or reset your decryption key, operational resilience depends on disciplined key management. Teams adopting client-side encryption should pair high-entropy passphrases (at least 80 bits of entropy, verifiable in our Passphrase Generator) with offline recovery sheets stored in physical safes or hardware-backed secret sharing.
Furthermore, verify that any web-based cryptographic tool runs over HTTPS (a secure context where window.crypto.subtle is available) and serves strict headers such as Referrer-Policy: no-referrer so sensitive URLs never leak through referrer headers.
Test AES-256-GCM Locally Right Now
Encrypt a test message with PBKDF2 600,000 iterations and verify tamper rejection in your browser with zero server calls.
Launch AES-256-GCM Secret Vault