Skip to content

Releases: ceyyylin/MultiLayerCipher

v2.0 - Refactoring and Modular Architecture

16 Feb 18:56
19f463a

Choose a tag to compare

Overview

In this version, I have completely refactored the project's architecture to improve code maintainability and scalability. While the user-facing features remain the same, the underlying logic is now much more flexible and organized.

Key Changes

  • Modularization: Decoupled the monolithic script into three dedicated modules: action.py, ciphers.py, and main.py.
  • Dictionary Dispatch Pattern: Removed extensive if-elif chains and implemented a dynamic dictionary mapping to handle cipher selection.
  • Wrapper Functions: Standardized function calls by using wrappers to handle default parameters (keys, rails, etc.) across different cipher types.

Note: The original single-file implementation is archived in the legacy-v1 branch for historical reference and comparison.