Cryptography

Security & Zero-Knowledge Architecture

Every secret, folder hierarchy, and file attachment is encrypted locally in your browser before reaching the database or Google Drive.

Argon2id + HKDF Domain Separation

Your Master Password runs through Argon2id (t=3, 32 MiB, p=1) in the browser, then splits via HKDF-SHA256 into an authentication key and a separate encryption key that never leaves your device.

AES-256-GCM Envelope Encryption

Every folder, login, note, 2FA token, and attached file uses its own unique 256-bit Data Encryption Key (DEK) bound with authenticated additional data (AAD) to prevent ciphertext tampering or swapping.

Passkeys with PRF & Split-Share 1-Tap Unlock

Supports WebAuthn biometrics and hardware keys with WebAuthn PRF extension or split-share secret recombination so you can unlock your vault in one tap without storing raw keys on disk.

Client-Encrypted Google Drive Files

Attached documents are encrypted with unique 256-bit keys inside your browser before uploading into your private Google Drive appDataFolder—Google and Keystone servers see only opaque ciphertext.

Tab-Bound Split Sessions

Sessions combine an HttpOnly SameSite=Strict cookie with a per-tab token kept only in sessionStorage, automatically closing access when the tab closes and supporting inactivity auto-lock.

Emergency Recovery & Key Rotation

During account creation, Keystone generates a 256-bit Emergency Recovery Code that independently wraps your Vault Master Key. In Settings → Password, you can rotate your Vault Master Key at any time—re-wrapping all items and file keys, generating a new recovery key, and revoking all other active sessions.