# turkaysoft/encryphix architecture

> Architecture diagram of the GitHub repository turkaysoft/encryphix, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/turkaysoft/encryphix
- Repository: https://github.com/turkaysoft/encryphix

## Overview

Encryphix is a Windows desktop application for encrypting and decrypting files and folders. The main form is the user-facing workflow coordinator: users select inputs and a password, then it dispatches protection operations and presents progress/results. The README also documents secure deletion, password generation, themes, localization, and built-in update checking. Edges below reflect excerpted calls or README claims; several security and UI details are documented but their complete implementations were not sampled.

Main entry points: [`Encryphix/EncryphixMain.cs`](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixMain.cs) (Main Window), [`Encryphix/Program.cs`](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/Program.cs) (Application Startup), [`Encryphix/TSProtection.cs`](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSProtection.cs) (File and Folder Protection), [`Encryphix/EncryphixPasswordGenerator.cs`](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixPasswordGenerator.cs) (Password Generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["Startup and Settings"]
  node_program["Application Startup<br/>[Program.cs]"]
  node_settings["Settings and Preferences<br/>[TSModules.cs]"]
  node_update["Update Mechanism<br/>[EncryphixMain.cs]"]
end

subgraph group_workflow["Encryption Workflow"]
  node_main["Main Window<br/>[EncryphixMain.cs]"]
end

subgraph group_security["Protection Services"]
  node_protection["File and Folder Protection<br/>[TSProtection.cs]"]
end

subgraph group_experience["User Experience"]
  node_password["Password Generator"]
  node_controls["Custom UI Controls"]
  node_modules["Theme and Localization<br/>[TSModules.cs]"]
  node_about["About and Language Info<br/>[EncryphixAbout.cs]"]
end

node_user(("Desktop User"))
node_filesystem[("Local Filesystem")]
node_clipboard["System Clipboard"]
node_release["Release Service"]

node_user -->|"launches"| node_program
node_program -->|"initializes"| node_settings
node_program -->|"opens"| node_main
node_main -->|"reads and saves"| node_settings
node_user -->|"selects inputs"| node_main
node_main -->|"dispatches protection"| node_protection
node_protection -->|"reads and writes"| node_filesystem
node_protection -->|"securely deletes"| node_filesystem
node_main -->|"selects files"| node_filesystem
node_user -->|"requests password"| node_password
node_main -->|"opens generator"| node_password
node_password -.->|"copies password"| node_clipboard
node_main -.->|"uses controls"| node_controls
node_main -->|"loads language and theme"| node_modules
node_program -->|"validates languages"| node_modules
node_main -->|"opens about window"| node_about
node_about -->|"reads language and theme"| node_modules
node_main -.->|"checks updates"| node_update
node_update -.->|"checks release"| node_release

click node_program "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/Program.cs"
click node_settings "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSModules.cs"
click node_main "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixMain.cs"
click node_protection "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSProtection.cs"
click node_password "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixPasswordGenerator.cs"
click node_controls "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSCustomControls.cs"
click node_modules "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSModules.cs"
click node_about "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixAbout.cs"
click node_update "https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixMain.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_program,node_settings,node_update,node_user toneBlue
class node_main,node_filesystem toneAmber
class node_protection toneMint
class node_password,node_controls,node_modules,node_about toneRose
class node_clipboard,node_release toneIndigo
```

## Components

### Startup and Settings

- [Application Startup](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/Program.cs): `Encryphix/Program.cs`
- [Settings and Preferences](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSModules.cs): `Encryphix/TSModules.cs`
- [Update Mechanism](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixMain.cs): `Encryphix/EncryphixMain.cs`

### Encryption Workflow

- [Main Window](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixMain.cs): `Encryphix/EncryphixMain.cs`

### Protection Services

- [File and Folder Protection](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSProtection.cs): `Encryphix/TSProtection.cs`

### User Experience

- [Password Generator](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixPasswordGenerator.cs): `Encryphix/EncryphixPasswordGenerator.cs`
- [Custom UI Controls](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSCustomControls.cs): `Encryphix/TSCustomControls.cs`
- [Theme and Localization](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/TSModules.cs): `Encryphix/TSModules.cs`
- [About and Language Info](https://github.com/turkaysoft/encryphix/blob/main/Encryphix/EncryphixAbout.cs): `Encryphix/EncryphixAbout.cs`

### Other components

- **Desktop User**
- **Local Filesystem**
- **System Clipboard**
- **Release Service**

## Connections

- Desktop User → Application Startup: launches (evidence: `README.md`)
- Application Startup → Settings and Preferences: initializes (evidence: `Encryphix/Program.cs`)
- Application Startup → Main Window: opens (evidence: `Encryphix/Program.cs`)
- Main Window → Settings and Preferences: reads and saves (evidence: `Encryphix/EncryphixMain.cs`)
- Desktop User → Main Window: selects inputs (evidence: `Encryphix/EncryphixMain.cs`)
- Main Window → File and Folder Protection: dispatches protection (evidence: `Encryphix/EncryphixMain.cs`)
- File and Folder Protection → Local Filesystem: reads and writes (evidence: `Encryphix/TSProtection.cs`)
- File and Folder Protection → Local Filesystem: securely deletes (evidence: `Encryphix/TSProtection.cs`)
- Main Window → Local Filesystem: selects files (evidence: `Encryphix/EncryphixMain.cs`)
- Desktop User → Password Generator: requests password
- Main Window → Password Generator: opens generator (evidence: `Encryphix/EncryphixMain.cs`)
- Password Generator → System Clipboard: copies password (evidence: `README.md`)
- Main Window → Custom UI Controls: uses controls (evidence: `Encryphix/EncryphixMain.cs`)
- Main Window → Theme and Localization: loads language and theme (evidence: `Encryphix/EncryphixMain.cs`)
- Application Startup → Theme and Localization: validates languages (evidence: `Encryphix/Program.cs`)
- Main Window → About and Language Info: opens about window (evidence: `Encryphix/EncryphixMain.cs`)
- About and Language Info → Theme and Localization: reads language and theme (evidence: `Encryphix/EncryphixAbout.cs`)
- Main Window → Update Mechanism: checks updates (evidence: `README.md`)
- Update Mechanism → Release Service: checks release (evidence: `README.md`)
