This GitHub repository is home to the full source code for a Cryptography Tool built with the C++ programming language and the raylib library. The application features a custom Graphical User Interface (GUI) and provides a simple cipher encryption/decryption mechanism. It can generate secure 256-digit keys, encrypt text messages, and decrypt them.
Features include:
- Generating secure randomized 256-digit encryption keys.
- Using custom 256-digit keys for encryption and decryption.
- Encrypting and decrypting up to 1024 characters.
- Clipboard support (Ctrl+C, Ctrl+V).
- Light and Dark modes.
- Built-in background music playback.
- VS Code with the C/C++ extension installed.
- raylib installed on your system.
- A compiler such as MinGW-w64 (e.g., via
w64devkitif you are on Windows).
If you are on Windows, you can simply run the pre-compiled executable by double-clicking main.exe in the root folder.
This project is configured to be built easily using VS Code tasks.
- Open the workspace file
main.code-workspacein VS Code. - Open the file
src/main.cppso it is the active tab. - Press
Ctrl + Shift + Bto build the project. Thetasks.jsonwill automatically use theMakefileto compilemain.cpp. - Run the generated
main.exeexecutable.
Alternatively, you can build from the command line using make (or mingw32-make on Windows):
make PLATFORM=PLATFORM_DESKTOP PROJECT_NAME=main OBJS=src/main.cpp