How utkarshshinde873-ui/securdata_app works
SecureData is a browser-based tool for encrypting and decrypting text or files with password-derived AES-GCM keys. Users enter through the dashboard, then choose encryption or decryption; each workflow invokes the shared crypto module, with packages serialized or parsed and results copied or downloaded locally. The excerpts support these direct page-to-crypto calls and show no server-side storage or external crypto service. Details of the decryption file-upload parsing path are partly omitted, so the graph limits itself to the visible calls.
Main entry points: encrypt/page.tsx Encrypt workflow · decrypt/page.tsx Decrypt workflow · app/page.tsx Dashboard · crypto.ts Crypto engine
Components 8
Browser experience
- Dashboard
app/page.tsx - Encrypt workflow
app/encrypt/page.tsx - Decrypt workflow
app/decrypt/page.tsx - Page transition
app/components/PageTransition.tsx
Cryptography and packages
- Crypto engine
lib/crypto.ts - Package format
lib/crypto.ts - Local downloads
lib/crypto.ts
Other components
- User
Connections 12
- User → Dashboard: opens
README.md - Dashboard → Encrypt workflow: navigates
app/page.tsx - Dashboard → Decrypt workflow: navigates
app/page.tsx - User → Encrypt workflow: provides input
app/encrypt/page.tsx - Encrypt workflow → Crypto engine: encrypts text or file
app/encrypt/page.tsx - Crypto engine → Package format: creates package
lib/crypto.ts - Encrypt workflow → Package format: serializes package
app/encrypt/page.tsx - User → Decrypt workflow: provides package and password
app/decrypt/page.tsx - Decrypt workflow → Package format: parses pasted package
app/decrypt/page.tsx - Decrypt workflow → Crypto engine: decrypts text or data
app/decrypt/page.tsx - Encrypt workflow → Local downloads: downloads package
app/encrypt/page.tsx - Decrypt workflow → Local downloads: downloads result
app/decrypt/page.tsx