A node-based cascade encryption builder — chain multiple ciphers into a visual encryption pipeline.
🔗 Live Demo: cipherstack-eight.vercel.app
CipherStack is a browser-based tool that lets you visually chain multiple cipher algorithms together into a sequential pipeline. Text flows through each cipher node in order, with each node's output becoming the next node's input — producing a layered, multi-algorithm encrypted result.
Plaintext Input
↓
[ Caesar — shift: 3 ]
↓
[ XOR — key: "secret" ]
↓
[ Vigenère — key: "key" ]
↓
Ciphertext Output
- Encrypt passes text forward through the chain (top → bottom)
- Decrypt passes ciphertext backward through the chain (bottom → top)
| Feature | Description |
|---|---|
| Three Ciphers | Caesar (shift), XOR (bitwise key), Vigenère (polyalphabetic key) |
| Visual Pipeline | Node cards with connectors showing data flow between cipher stages |
| Add / Remove / Reorder | Build custom pipelines with any combination and order of ciphers |
| Inline Configuration | Click the tune icon to configure each node via a modal dialog |
| Round-trip Correctness | decrypt(encrypt(text)) === text guaranteed for all valid inputs |
| Intermediate Outputs | See what each node received and produced after every run |
| Validation & Errors | Animated error banners with specific messages for invalid configurations |
| Responsive Layout | Desktop-first CSS Grid with tablet-friendly breakpoint at 768px+ |
| Zero Dependencies | Single HTML file — no frameworks, no build step, no server |
A substitution cipher that shifts each letter by a fixed number.
- Config:
shift(integer, -25 to 25, default: 3) - Non-letter characters pass through unchanged
A bitwise cipher that XORs each character against a repeating key string.
- Config:
key(any non-empty string, default:"secret") - Output is hex-encoded (e.g.
"6b686f6f72")
A polyalphabetic substitution cipher using a keyword for variable shifts.
- Config:
key(letters A–Z only, default:"key") - Non-letter characters pass through unchanged
| Component | Technology |
|---|---|
| Structure | Vanilla HTML5 |
| Styling | Vanilla CSS with CSS Grid & custom properties |
| Logic | Vanilla JavaScript (ES6+) |
| Fonts | Google Fonts — Playfair Display + JetBrains Mono |
| Icons | Google Material Icons CDN |
| Hosting | Vercel (static deployment) |
- Color Palette: Warm earth / light brown tones — no blue, purple, or neon
- Typography: Playfair Display for headings, JetBrains Mono for code/output
- Layout: Desktop-first CSS Grid (240px sidebar + fluid canvas), tablet-friendly at ≤1023px
- Micro-interactions: Hover shadows, slide-in animations, output flash on encrypt/decrypt
Simply open index.html in any modern browser — no build step required.
# Or use a local server npx serve .
npm install -g vercel vercel --prod
Or drag-and-drop the project folder on vercel.com.
├── index.html # Complete application (HTML + CSS + JS)
├── documentation/
│ ├── 01-product-overview.md
│ ├── 02-user-stories.md
│ ├── 03-usage-guide.md
│ └── 04-deployment-guide.md
├── LICENSE
└── README.md
| Browser | Supported |
|---|---|
| Chrome 90+ | ✅ |
| Firefox 88+ | ✅ |
| Edge 90+ | ✅ |
| Safari 14+ | ✅ |
This project is licensed under the MIT License — see the LICENSE file for details.