NovaCrypt is a lightweight cryptographic library in C++ designed for simple encryption and decryption of text and file contents. It features customizable encryption parameters, including a secure key and salt, and supports basic file operations for encrypting and decrypting data. Ideal for educational purposes and lightweight encryption tasks.
- Encryption and Decryption: Encrypt and decrypt strings and files.
- Customizable Parameters: Define a secure key and salt for cryptographic operations.
- File Operations: Encrypt and decrypt file contents.
- C11 or later
- C++11 or later
- CMake 3.10 or higher
- A C++ compiler (e.g., g++, clang++)
- Python 2.7 or higher
- PHP 7.1 or higher
- Node 16 or higher
The NovaCrypt system provides a command-line interface to perform cryptographic operations. Upon running the executable, you will be prompted to choose a mode and enter the necessary parameters.
- Encryption: Encrypt text data.
- Decryption: Decrypt text data.
- Encrypt File: Encrypt the contents of a file and save the result to another file.
- Decrypt File: Decrypt the contents of a file and save the result to another file.
Encrypt Text:
Enter SECURE_KEY(int): 12345
Enter SALT(int): 10
Enter MODE (1/2/31/32): 1
Enter the content: Hello, World!Output:
Encrypted Data: [encrypted text]Encrypt File:
Enter SECURE_KEY(int): 12345
Enter SALT(int): 10
Enter MODE (1/2/31/32): 31
Enter File Path for Encryption (Source): input.txt
Enter File Path for Decryption (Destination): encrypted_output.txtOutput:
Encrypted data saved to: encrypted_output.txt- Fork the repository.
- Create a feature branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m "Add new feature" - Push to the branch:
git push origin feature/your-feature
- Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- C Standard Library
- C++ Standard Library
- CMake
- Python
- PHP
- NodeJS