This repository contains a Python-based file security software that provides encryption and decryption functionalities using multiple algorithms, such as AES, RSA, and basic encryption methods. It allows users to securely encrypt files and then decrypt them using the corresponding keys.
The software is designed to handle various encryption and decryption operations on files, providing flexibility in choosing the encryption method based on the level of security required. The repository contains several example files demonstrating the encryption and decryption processes using different algorithms.
- AES Encryption/Decryption: Secure file encryption using the AES (Advanced Encryption Standard) algorithm.
- RSA Encryption/Decryption: Public-key encryption and decryption using the RSA algorithm.
- Basic Encryption/Decryption: Simple encryption method for lower-level security requirements.
- Private/Public Key Management: Handling private and public keys for RSA encryption.
.
├── encrypted_aes_FE.txt // Example file encrypted with AES
├── decrypted_aes_encrypted_aes_FE.txt // Example file decrypted from AES encryption
├── encrypted_rsa_FE.txt // Example file encrypted with RSA
├── decrypted_rsa_encrypted_rsa_FE.txt // Example file decrypted from RSA encryption
├── encrypted_basic_FE.txt // Example file encrypted with basic method
├── decrypted_basic_encrypted_basic_FE.txt // Example file decrypted from basic encryption
├── original code file.py // Python script containing the encryption/decryption logic
├── private.pem // Private key for RSA encryption
├── recipient.pem // Public key for RSA encryption
└── README.md // Project README file
- Python 3.x
- Required Python libraries (e.g.,
cryptography
)
-
Clone the repository:
git clone https://github.com/Abdulbasit110/File-Security-software.git cd File-Security-software
-
Install the required dependencies:
pip install -r requirements.txt
-
To encrypt a file using AES:
python original_code_file.py --encrypt --method aes --input your_file.txt
-
To decrypt a file encrypted with AES:
python original_code_file.py --decrypt --method aes --input encrypted_aes_FE.txt
-
Similarly, you can use the RSA and basic methods by replacing
--method aes
with--method rsa
or--method basic
.
During this project, the following were achieved:
- Python Cryptography: Gained experience in using Python libraries for encryption and decryption.
- RSA and AES: Developed a deeper understanding of RSA and AES encryption algorithms.
- File Handling: Learned how to efficiently handle file I/O operations in Python.
- Key Management: Understood the importance of secure key management in cryptographic systems.
Contributions are welcome! Please create a pull request or open an issue to discuss any changes.