Ruby Core Encryption Engine
Independent Ruby core responsible for text & file encryption/decryption, compression, phrase storage, payload formatting, and strict error handling using OpenSSL and Zlib.
Electron Desktop Shell
Electron drives the desktop UI, navigation, and window lifecycle, treating itself as the presentation layer around the Ruby logic instead of the business engine.
Secure Ruby Bridge
Electron communicates with the Ruby core through a constrained bridge process that exchanges JSON messages over stdin/stdout or private IPC, keeping crypto logic out of the renderer.
FMOD Audio Layer
FMOD integrates on the Electron side to handle UI sound categories, music playback, mixer groups, and volume/mute controls without polluting the Ruby encryption engine.
Layered Architecture
Clearly separated responsibilities: Ruby for logic, Electron for UI and desktop runtime, FMOD for audio. This mirrors modern multi-process desktop architectures and keeps refactors safe.
Migration-Friendly Design
CRP56 is rebuilt in stages: encryption, compression, payloads, phrases, bridge integration, FMOD audio, and UI replacement. Each stage preserves behavior while moving away from the legacy WPF build.