π Building Mbarek Cipher v2 β A Custom Encryption System in PHP
Introduction
I built a custom encryption system in PHP called Mbarek Cipher v2.
The goal of this project is to explore cryptography concepts by designing a dynamic and experimental cipher system from scratch.
It is an open-source project focused on learning, experimentation, and continuous improvement.
Project Overview
Mbarek Cipher v2 is a custom encryption system built in PHP.
The core idea is to transform input data using a dynamic structure-based cipher. Instead of relying on standard algorithms, the system applies a personalized transformation logic driven by a key-based mechanism.
The encryption and decryption processes are symmetrical, meaning the same logic (reversed) is used to restore the original data.
Tech Stack
PHP 8+
Pure PHP implementation (no frameworks)
Custom cryptographic structure
Experimental cipher architecture
Features
Symmetric encryption/decryption system
Dynamic key-based transformation
Experimentalβ¦