# taewook427/kutil4 architecture

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

- Interactive diagram: https://gitdiagram.com/taewook427/kutil4
- Repository: https://github.com/taewook427/kutil4

## Overview

Kutil is a collection of early utilities across four generations, rather than one continuous application. The clearest user workflows are Gen3’s desktop file utility and Gen4’s encrypted vault and storage tools. Gen3 includes file encryption, archive handling, image camouflage, and structured-data parsing; Gen4 adds KAES4 cryptography, a layered vault, password management, and image-backed storage. The README only identifies the generations, so some capabilities and connections are supported by sampled source rather than product documentation; unsampled modules are included only where the tree and source index establish their presence.

Main entry points: [`gen3/test365.py`](https://github.com/taewook427/kutil4/blob/main/gen3/test365.py) (File Utility UI), [`gen4/kv4l1.py`](https://github.com/taewook427/kutil4/blob/main/gen4/kv4l1.py) (Vault Operations), [`gen4/kpwm4.py`](https://github.com/taewook427/kutil4/blob/main/gen4/kpwm4.py) (Image Storage UI), [`gen4/kdm4up.py`](https://github.com/taewook427/kutil4/blob/main/gen4/kdm4up.py) (Password Manager UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gen1["Generation 1 Utilities"]
  node_encrypt1["Encryption Utility<br/>[encrypt1.py]"]
  node_graphdrawer["Graph Drawer<br/>[graphDrawer.py]"]
  node_wintime1["Time Utility<br/>[wintime1.py]"]
end

subgraph group_gen2["Generation 2 Utilities"]
  node_bkscript["BK Script<br/>[BKscript.py]"]
  node_encrypt2["Encryption Utility<br/>[encrypt2.py]"]
  node_bkweb["BK Web UI<br/>[index0.html]"]
  node_wintime2["Time Utility<br/>[wintime2.py]"]
end

subgraph group_gen3["Generation 3 Tools"]
  node_gen3ui["File Utility UI<br/>[test365.py]"]
  node_filecrypto["File Encryption<br/>[kerbal.py]"]
  node_archiver["Archive Handling<br/>[mung2.py]"]
  node_imagecamouflage["Image Camouflage<br/>[nox2.py]"]
  node_structureddata["Data Parser<br/>[oreo.py]"]
  node_wintime3["Time Utility<br/>[wintime3.py]"]
end

subgraph group_gen4["Generation 4 Tools"]
  node_vaultui["Vault UI<br/>[kv4l2.py]"]
  node_vaultlayer["Vault Operations<br/>[kv4l1.py]"]
  node_vaultio["Cluster I/O<br/>[kv4l0.py]"]
  node_cryptohy["KAES4 Hybrid<br/>[kaes4hy.py]"]
  node_cryptoin["AES Operations<br/>[kaes4in.py]"]
  node_cryptogo["KAES4 Go<br/>[kaes4go.py]"]
  node_passwordmanager["Password Manager<br/>[kdm4.py]"]
  node_passwordui["Password Manager UI<br/>[kdm4up.py]"]
  node_imagevault["Image Storage UI<br/>[kpwm4.py]"]
  node_filecrypto4["KAES4 Python<br/>[kaes4py.py]"]
  node_nativecrypto["KAES4 Native<br/>[kaes4na.go]"]
end

node_user(("User"))
node_desktop(("Desktop User"))
node_vaultuser(("Vault User"))

node_user -.->|"uses"| node_encrypt1
node_user -.->|"uses"| node_graphdrawer
node_user -.->|"uses"| node_wintime1
node_user -.->|"uses"| node_bkscript
node_user -.->|"uses"| node_encrypt2
node_user -.->|"uses"| node_bkweb
node_user -.->|"uses"| node_wintime2
node_desktop -->|"uses"| node_gen3ui
node_gen3ui -->|"calls"| node_filecrypto
node_gen3ui -->|"calls"| node_archiver
node_gen3ui -->|"calls"| node_imagecamouflage
node_gen3ui -->|"reads"| node_structureddata
node_user -.->|"uses"| node_wintime3
node_vaultuser -.->|"uses"| node_vaultui
node_vaultui -->|"calls"| node_vaultlayer
node_vaultlayer -->|"uses"| node_vaultio
node_vaultlayer -->|"encrypts"| node_cryptohy
node_cryptohy -->|"delegates"| node_cryptoin
node_vaultlayer -->|"uses"| node_archiver
node_passwordui -.->|"serves"| node_vaultuser
node_passwordmanager -->|"uses"| node_cryptogo
node_passwordui -.->|"calls"| node_passwordmanager
node_imagevault -->|"encrypts"| node_cryptogo
node_imagevault -->|"uses"| node_structureddata
node_imagevault -->|"uses"| node_imagecamouflage
node_filecrypto4 -.->|"uses"| node_nativecrypto

click node_encrypt1 "https://github.com/taewook427/kutil4/blob/main/gen1/encrypt1.py"
click node_graphdrawer "https://github.com/taewook427/kutil4/blob/main/gen1/graphDrawer.py"
click node_wintime1 "https://github.com/taewook427/kutil4/blob/main/gen1/wintime1.py"
click node_bkscript "https://github.com/taewook427/kutil4/blob/main/gen2/BKscript.py"
click node_encrypt2 "https://github.com/taewook427/kutil4/blob/main/gen2/encrypt2.py"
click node_bkweb "https://github.com/taewook427/kutil4/blob/main/gen2/this_is_bk/index0.html"
click node_wintime2 "https://github.com/taewook427/kutil4/blob/main/gen2/wintime2.py"
click node_gen3ui "https://github.com/taewook427/kutil4/blob/main/gen3/test365.py"
click node_filecrypto "https://github.com/taewook427/kutil4/blob/main/gen3/kerbal.py"
click node_archiver "https://github.com/taewook427/kutil4/blob/main/gen3/mung2.py"
click node_imagecamouflage "https://github.com/taewook427/kutil4/blob/main/gen3/nox2.py"
click node_structureddata "https://github.com/taewook427/kutil4/blob/main/gen3/oreo.py"
click node_wintime3 "https://github.com/taewook427/kutil4/blob/main/gen3/wintime3.py"
click node_vaultui "https://github.com/taewook427/kutil4/blob/main/gen4/kv4l2.py"
click node_vaultlayer "https://github.com/taewook427/kutil4/blob/main/gen4/kv4l1.py"
click node_vaultio "https://github.com/taewook427/kutil4/blob/main/gen4/kv4l0.py"
click node_cryptohy "https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4hy.py"
click node_cryptoin "https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4in.py"
click node_cryptogo "https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4go.py"
click node_passwordmanager "https://github.com/taewook427/kutil4/blob/main/gen4/kdm4.py"
click node_passwordui "https://github.com/taewook427/kutil4/blob/main/gen4/kdm4up.py"
click node_imagevault "https://github.com/taewook427/kutil4/blob/main/gen4/kpwm4.py"
click node_filecrypto4 "https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4py.py"
click node_nativecrypto "https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4na.go"

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_encrypt1,node_graphdrawer,node_wintime1,node_user,node_desktop,node_vaultuser toneBlue
class node_bkscript,node_encrypt2,node_bkweb,node_wintime2 toneAmber
class node_gen3ui,node_filecrypto,node_archiver,node_imagecamouflage,node_structureddata,node_wintime3 toneMint
class node_vaultui,node_vaultlayer,node_vaultio,node_cryptohy,node_cryptoin,node_cryptogo,node_passwordmanager,node_passwordui,node_imagevault,node_filecrypto4,node_nativecrypto toneRose
```

## Components

### Generation 1 Utilities

- [Encryption Utility](https://github.com/taewook427/kutil4/blob/main/gen1/encrypt1.py): `gen1/encrypt1.py`
- [Graph Drawer](https://github.com/taewook427/kutil4/blob/main/gen1/graphDrawer.py): `gen1/graphDrawer.py`
- [Time Utility](https://github.com/taewook427/kutil4/blob/main/gen1/wintime1.py): `gen1/wintime1.py`

### Generation 2 Utilities

- [BK Script](https://github.com/taewook427/kutil4/blob/main/gen2/BKscript.py): `gen2/BKscript.py`
- [Encryption Utility](https://github.com/taewook427/kutil4/blob/main/gen2/encrypt2.py): `gen2/encrypt2.py`
- [BK Web UI](https://github.com/taewook427/kutil4/blob/main/gen2/this_is_bk/index0.html): `gen2/this_is_bk/index0.html`
- [Time Utility](https://github.com/taewook427/kutil4/blob/main/gen2/wintime2.py): `gen2/wintime2.py`

### Generation 3 Tools

- [File Utility UI](https://github.com/taewook427/kutil4/blob/main/gen3/test365.py): `gen3/test365.py`
- [File Encryption](https://github.com/taewook427/kutil4/blob/main/gen3/kerbal.py): `gen3/kerbal.py`
- [Archive Handling](https://github.com/taewook427/kutil4/blob/main/gen3/mung2.py): `gen3/mung2.py`
- [Image Camouflage](https://github.com/taewook427/kutil4/blob/main/gen3/nox2.py): `gen3/nox2.py`
- [Data Parser](https://github.com/taewook427/kutil4/blob/main/gen3/oreo.py): `gen3/oreo.py`
- [Time Utility](https://github.com/taewook427/kutil4/blob/main/gen3/wintime3.py): `gen3/wintime3.py`

### Generation 4 Tools

- [Vault UI](https://github.com/taewook427/kutil4/blob/main/gen4/kv4l2.py): `gen4/kv4l2.py`
- [Vault Operations](https://github.com/taewook427/kutil4/blob/main/gen4/kv4l1.py): `gen4/kv4l1.py`
- [Cluster I/O](https://github.com/taewook427/kutil4/blob/main/gen4/kv4l0.py): `gen4/kv4l0.py`
- [KAES4 Hybrid](https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4hy.py): `gen4/kaes4/kaes4hy.py`
- [AES Operations](https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4in.py): `gen4/kaes4/kaes4in.py`
- [KAES4 Go](https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4go.py): `gen4/kaes4/kaes4go.py`
- [Password Manager](https://github.com/taewook427/kutil4/blob/main/gen4/kdm4.py): `gen4/kdm4.py`
- [Password Manager UI](https://github.com/taewook427/kutil4/blob/main/gen4/kdm4up.py): `gen4/kdm4up.py`
- [Image Storage UI](https://github.com/taewook427/kutil4/blob/main/gen4/kpwm4.py): `gen4/kpwm4.py`
- [KAES4 Python](https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4py.py): `gen4/kaes4/kaes4py.py`
- [KAES4 Native](https://github.com/taewook427/kutil4/blob/main/gen4/kaes4/kaes4na.go): `gen4/kaes4/kaes4na.go`

### Other components

- **User**
- **Desktop User**
- **Vault User**

## Connections

- User → Encryption Utility: uses
- User → Graph Drawer: uses
- User → Time Utility: uses
- User → BK Script: uses
- User → Encryption Utility: uses
- User → BK Web UI: uses
- User → Time Utility: uses
- Desktop User → File Utility UI: uses (evidence: `gen3/test365.py`)
- File Utility UI → File Encryption: calls (evidence: `gen3/test365.py`)
- File Utility UI → Archive Handling: calls (evidence: `gen3/test365.py`)
- File Utility UI → Image Camouflage: calls (evidence: `gen3/test365.py`)
- File Utility UI → Data Parser: reads (evidence: `gen3/test365.py`)
- User → Time Utility: uses
- Vault User → Vault UI: uses
- Vault UI → Vault Operations: calls (evidence: `gen4/kv4l2.py`)
- Vault Operations → Cluster I/O: uses (evidence: `gen4/kv4l1.py`)
- Vault Operations → KAES4 Hybrid: encrypts (evidence: `gen4/kv4l1.py`)
- KAES4 Hybrid → AES Operations: delegates (evidence: `gen4/kaes4/kaes4hy.py`)
- Vault Operations → Archive Handling: uses (evidence: `gen4/kv4l1.py`)
- Password Manager UI → Vault User: serves
- Password Manager → KAES4 Go: uses (evidence: `gen4/kdm4.py`)
- Password Manager UI → Password Manager: calls
- Image Storage UI → KAES4 Go: encrypts (evidence: `gen4/kpwm4.py`)
- Image Storage UI → Data Parser: uses (evidence: `gen4/kpwm4.py`)
- Image Storage UI → Image Camouflage: uses (evidence: `gen4/kpwm4.py`)
- KAES4 Python → KAES4 Native: uses
