A file encryption and decryption tool
Project description
FileSecure Tool
FileSecure is a command-line utility for encrypting and decrypting files using AES-256-CBC encryption. This tool allows you to securely protect your files with a password, ensuring that sensitive data is not exposed.
Features
- Encrypt Files: Secure your files with AES-256-CBC encryption.
- Decrypt Files: Restore encrypted files back to their original state.
- Easy to Use: Simple command-line interface with straightforward commands.
- Password-Based Encryption: Utilize a password to derive a strong encryption key.
Installation
To use the FileSecure tool, you need to have Python and pip installed on your system.
pip install filesecure
Usage
Encrypting a File
To encrypt a file, use the following command:
filesecure encrypt --password "your_password" yourfile.txt
Parameters
--password "your_password": The password used to encrypt the file. Make sure to use a strong password.yourfile.txt: The name of the file you want to encrypt.
Important Notes
- The original file will be overwritten with the encrypted content.
- If the file is already encrypted (i.e., it starts with
FILE_SECURE), a message will indicate that the file is already encrypted.
Decrypting a File
To decrypt a file, use the following command:
filesecure decrypt --password "your_password" yourfile.txt
Parameters
--password "your_password": The password used to decrypt the file. It must match the password used during encryption.yourfile.txt: The name of the file you want to decrypt.
Important Notes
- The original file will be overwritten with the decrypted content.
- If the file is not encrypted (i.e., it does not start with
FILE_SECURE), an error message will indicate that the file is not encrypted or is in an invalid format.
Contributing
Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filesecure-0.3.0.tar.gz.
File metadata
- Download URL: filesecure-0.3.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a05d12b6a13c22ec88396ba5e5b925d0562aaab80a8c17dff91f74972d3b3fb7
|
|
| MD5 |
7abd972349ce0b0eaf0c3f78a3e04a0e
|
|
| BLAKE2b-256 |
e86af3337dca6f766f66d8204b2de8390f252b67b377fd4e1210397bb53bdfe6
|
File details
Details for the file filesecure-0.3.0-py3-none-any.whl.
File metadata
- Download URL: filesecure-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992f41576c4c28a20231f1b8770508f991a226386d11d54f28f1b392aa660d16
|
|
| MD5 |
d255d8897c9ee69fcc43af996aa0e0d9
|
|
| BLAKE2b-256 |
c252200909031fe9090fc00f81f50f32ead96c236e068bf92fc3989d91c73c80
|