System Architecture
Frontend Framework
Klypt is built using Flutter, Google's UI toolkit for building natively compiled applications. This allows for high performance and strict control over memory management, which is crucial for handling sensitive data strings securely.
Storage Engine
All data is persisted in a local-only database. Before any byte touches the disk, it is passed through an encryption layer. We use Hive for efficient key-value storage due to its speed and simplicity, wrapped in a custom encryption adapter.
Clean Architecture
The codebase follows Clean Architecture principles to separate concerns. The UI layer never speaks directly to the database. A Logic layer handles encryption, while a Data layer handles storage. This isolation ensures that even if a UI bug occurs, the core security logic remains intact.
Platform Security
We leverage native Android security features, including the Keystore system for wrapping encryption keys and BiometricPrompt API for secure authentication. This ensures that your Master Key is protected by hardware-backed security where available.