Skip to main content

Zeq Vault — Your Math Is Your Key

Zeq Vault is an equation-based password manager where your mathematical equation unlocks the vault. No master password, no cloud sync, no server — everything is encrypted and decrypted entirely in the browser using the Web Crypto API.

Overview

Traditional password managers require you to remember a master password. Zeq Vault replaces that with a master equation — a mathematical expression that you create and remember. The equation is evaluated at the HulyaPulse constants (x = 1.287, y = 0.777), and the result is used to derive an AES-256-GCM encryption key via PBKDF2.

Your equation is never transmitted to any server. The vault is stored as an encrypted blob in localStorage, making Zeq Vault a fully client-side, zero-knowledge password manager.

Launch: Open Zeq Vault

How It Works

Vault Creation

  1. Choose a master equation — e.g., x^3 + sin(y*pi) - 42.7
  2. Evaluation — The equation is evaluated at x = 1.287, y = 0.777 → numerical result
  3. Key derivationPBKDF2(result, random_salt, 100000, SHA-256) → 256-bit AES key
  4. Encryption — All vault entries are encrypted with AES-256-GCM using the derived key
  5. Storage — The encrypted blob (with salt and IV) is stored in localStorage

Unlocking

Enter your master equation → the vault re-derives the key and attempts decryption. If the equation is correct, the GCM authentication tag verifies successfully and the vault opens. A wrong equation produces a different key, and decryption fails with an authentication error — no data is leaked.

Encryption Details

ParameterValue
AlgorithmAES-256-GCM
Key DerivationPBKDF2 (SHA-256, 100,000 iterations)
SaltRandom 16 bytes (generated per vault creation)
IVRandom 12 bytes (generated per encryption operation)
AuthenticationGCM built-in 128-bit authentication tag
Key Length256 bits

Key Features

  • Equation-Based Master Key — Your mathematical equation replaces the master password. Infinite complexity, mathematically derived.
  • Zero-Knowledge Architecture — Everything happens in the browser. No server, no cloud, no telemetry.
  • AES-256-GCM Encryption — Military-grade authenticated encryption with PBKDF2 key derivation.
  • Random Equation Generator — 5 complexity levels to help you create strong master equations.
  • Password Generator — Built-in strong password generator for new entries.
  • Password Strength Meter — Real-time strength analysis with entropy calculation.
  • Search and Organize — Filter entries by name, URL, or tags.
  • Import/Export — Export vault as encrypted JSON; import from other managers.
  • Auto-Lock — Vault locks automatically after configurable idle timeout.
  • Responsive Glassmorphic UI — Dark-themed, accessible interface optimized for desktop and mobile.

Random Equation Generator

Zeq Vault includes a random equation generator with 5 complexity levels:

LevelComplexityExample
1Simplex + 3
2Moderatex^2 + sin(y)
3Mediumsqrt(x) * cos(y*pi) + 7
4Complexx^3 + sin(y*pi) - floor(e * phi)
5Maximumasin(x/2) * log(y + phi) + ceil(sqrt(pi)) - tan(x*y)

Higher complexity equations produce more entropy in the derived key, but the PBKDF2 step ensures even simple equations produce cryptographically strong keys.

Vault Entry Structure

Each entry in the vault stores:

FieldDescription
TitleDisplay name (e.g., "GitHub")
UsernameAccount username or email
PasswordEncrypted password
URLWebsite URL (clickable)
NotesFree-form encrypted notes
TagsCategorization labels
CreatedTimestamp of creation
ModifiedTimestamp of last edit

Architecture

┌────────────────────────────┐
│ Zeq Vault Client (SPA) │ Single HTML file
├────────────────────────────┤
│ Equation Parser │ Recursive descent (no eval)
├────────────────────────────┤
│ PBKDF2 Key Derivation │ Web Crypto API
├────────────────────────────┤
│ AES-256-GCM Encryption │ Web Crypto API
├────────────────────────────┤
│ localStorage │ Encrypted blob storage
└────────────────────────────┘

The entire application is a single HTML file with no external dependencies beyond Google Fonts. There is no server component — the vault is purely client-side.

Key Operators

OperatorFormulaRole
VAULT-KDFPBKDF2(equation_result, salt, 100000, SHA-256)Key derivation
VAULT-ENCAES-256-GCM(plaintext, derived_key, IV)Entry encryption
VAULT-DECAES-256-GCM⁻¹(ciphertext, derived_key, IV)Entry decryption
VAULT-PARSERecursiveDescent(equation, {x:1.287, y:0.777})Equation evaluation

Running Zeq Vault

http://localhost/apps/zeq-vault/

Standalone

Zeq Vault is a single index.html file — open it directly in any modern browser:

open apps/zeq-vault/index.html

No server, no build step, no dependencies.

Security Considerations

  • Client-Side Only — No data leaves the browser. The equation and vault contents never touch a network.
  • No eval() — The equation parser is a safe recursive descent parser with a strict function whitelist.
  • PBKDF2 Hardening — 100,000 iterations make brute-force attacks on the derived key computationally expensive.
  • GCM Authentication — The authentication tag prevents any modification of encrypted data without detection.
  • Equation Complexity — Unlike passwords, equations can embed mathematical functions (sin, cos, sqrt, etc.), providing a richer keyspace.