LACRYPT v1 is a simple command-line tool for encrypting and decrypting files and text. It was created as a fun, personal project to explore basic encryption concepts in C++.
Note: This project is for educational and entertainment purposes only. The encryption used is not secure and should not be used for protecting sensitive data.
- Live Session Mode: Encrypt and decrypt text directly in the console.
- File Mode:
- Encrypt files, which are then saved with a
.cprextension. - Decrypt
.cprfiles back to their original form.
- Encrypt files, which are then saved with a
- Key Generation: Generates a random 8-digit key for encryption.
- Windows Operating System
- Visual Studio with the "Desktop development with C++" workload installed.
- Clone this repository to your local machine.
- Open the
LACRYPT v1.slnfile in Visual Studio. - Select a build configuration (e.g., "Release" and "x64").
- From the main menu, go to Build > Build Solution.
- The executable file (
LACRYPT v1.exe) will be created in thex64/Release(or similar) directory.
Run the executable from the command line. You will be presented with the following options:
-
Start live session:
- Choose to create a new key or use an existing one.
- Enter text to be encrypted or decrypted.
-
Work with file:
- Choose to encrypt or decrypt a file.
- Provide the full path to the file.
- Encryption: The original file will be deleted and a new file with a
.cprextension will be created. The encryption key will be displayed. Save this key! - Decryption: You will be prompted to enter the key used for encryption. The
.cprfile will be deleted and the original file will be restored.
This project was created for fun and should not be used for any serious cryptographic purposes. The encryption algorithm is simple and can be easily broken.