π 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 cipher design for learning purposes
- Lightweight and easy to integrate
- Open-source for community feedback and improvement
Example / Demo
Input
- Plain text: sample message
- Key: custom-secret-key
Process
The input is transformed using the cipherβs key-based dynamic structure.
Output
- Encrypted text: (generated cipher output)
- Decrypted text: original input restored
Conclusion
Mbarek Cipher v2 is a personal exploration of cryptography concepts implemented in PHP.
This project is still evolving, and its purpose is to experiment, learn, and improve through community feedback.
Feel free to share ideas, suggestions, or improvements.
Repository
The project is open-source and available on GitHub:
https://github.com/your-repo-link
Top comments (0)