Skip to content

πŸ” SEC-File is a powerful command-line tool designed to protect your sensitive data through robust encryption and decryption of files and folders. Utilizing the "cryptography" library, SEC-File ensures that your information remains secure from unauthorized access.

License

Notifications You must be signed in to change notification settings

CYBER-MRINAL/SEC-File

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SEC-File Introduction :-

SEC-File 2.5 released more funciton added. Check the new version.

# πŸ” SEC-File: Secure File Encryption and Decryption Tool

SEC-File is a robust command-line tool designed for securely encrypting and decrypting files and folders. Leveraging the power of the `cryptography` library, SEC-File ensures that your sensitive data remains protected from unauthorized access.

---

## πŸ“š Table of Contents

- [Features]
- [Requirements]
- [Installation]
- [Usage]
- [How It Works]
- [Logging]
- [Security Considerations]
- [License]
- [Contributing]
- [Acknowledgments]

---

## ✨ Features

- πŸ”’ Strong Encryption: Utilizes PBKDF2 with SHA-256 for key derivation.
- πŸ“ Folder Support: Encrypt and decrypt entire folders effortlessly.
- πŸ—‘οΈ Secure Deletion: Original files are securely deleted after encryption.
- πŸ’Ύ Backup Option: Optionally backup original files before encryption.
- πŸ“œ Operation Logging: All actions are logged for auditing purposes.

---

## βš™οΈ Requirements

- Python: Version 3.x
- Dependencies: `cryptography` library

You can install the required library using pip:

bash
apt install python3-cryptography

πŸš€ Installation

  1. Clone the repository:

    git clone https://github.com/CYBER-MRINAL/SEC-File.git
    cd SEC-File
  2. Install dependencies:

    python3 setup.py

πŸ› οΈ Usage

  1. Run the script:

    python3 SEC-File.py
  2. Follow the prompts:

    • Enter e to encrypt files or d to decrypt files.
    • Provide the full path to the folder containing the files you want to encrypt or decrypt.
    • Enter a password for encryption or decryption.
    • Optionally, choose to backup original files before encryption.

ezgif com-speed


πŸ” How It Works

Encryption Process:

  • Generates a random salt and derives a key from the provided password using PBKDF2.
  • Encrypts all files in the specified folder, appending a .enc extension to the encrypted files.
  • Securely deletes the original files after encryption (unless backup is chosen).

Decryption Process:

  • Reads the salt from salt.bin and derives the key using the same password.
  • Decrypts files with the .enc extension and restores the original filenames.
  • Securely deletes the encrypted files after decryption.

πŸ“Š Logging

All operations are logged in encryption.log for auditing purposes. You can check this file to see the history of encryption and decryption operations.


πŸ”’ Security Considerations

  • Strong Passwords: Always use a strong password for encryption.
  • Backup Important Files: Ensure that you have backups of important files before using this tool, especially if you choose to delete original files.

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.


🀝 Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.


πŸ™ Acknowledgments


You can contact me on TELEGRAM Thank you for checking out SEC-File! If you have any questions or feedback, feel free to reach out. Happy encrypting! πŸ”

About

πŸ” SEC-File is a powerful command-line tool designed to protect your sensitive data through robust encryption and decryption of files and folders. Utilizing the "cryptography" library, SEC-File ensures that your information remains secure from unauthorized access.

Topics

Resources

License

Stars

Watchers

Forks

Languages