https://github.com/tauseedzaman/securefileencryptor
PowerShell tool for AES-256 encryption and decryption of text, files, and folders with a simple, menu-driven interface.
https://github.com/tauseedzaman/securefileencryptor
aes-256-encryption encryption fileencryption powershell securefileencryptor
Last synced: 14 days ago
JSON representation
PowerShell tool for AES-256 encryption and decryption of text, files, and folders with a simple, menu-driven interface.
- Host: GitHub
- URL: https://github.com/tauseedzaman/securefileencryptor
- Owner: tauseedzaman
- Created: 2024-10-23T17:30:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T16:28:35.000Z (over 1 year ago)
- Last Synced: 2025-02-23T15:13:51.755Z (over 1 year ago)
- Topics: aes-256-encryption, encryption, fileencryption, powershell, securefileencryptor
- Language: PowerShell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SecureFileEncryptor

SecureFileEncryptor is a PowerShell tool for securely encrypting and decrypting text, files, and folders using password-protected SHA-256 hashing. The tool provides a simple interactive menu, allowing users to perform encryption and decryption operations on individual texts, files, or entire directories.
## Features
- **Text Encryption/Decryption**: Encrypts plain text to a secure, hashed format, and decrypts it back to the original text.
- **File Encryption/Decryption**: Encrypts text content within files and saves it in the same file securely.
- **Folder Encryption/Decryption**: Processes all files within a folder for batch encryption or decryption.
- **SHA-256 Password Hashing**: Uses a SHA-256 hash of your password as the key, adding an extra layer of security.
## Prerequisites
- **PowerShell**: Ensure PowerShell is installed on your system (version 5.1 or later recommended).
## Usage
1. **Download and open the script** in PowerShell.
2. **Run** the script: `.\SecureFileEncryptor.ps1`
3. **Choose an option** from the menu:
- **1**: Encrypt Text
- **2**: Decrypt Text
- **3**: Encrypt File
- **4**: Decrypt File
- **5**: Process Folder (Encrypt or Decrypt all files in a folder)
- **6**: Exit the application
## Example Usage
```powershell
.\SecureFileEncryptor.ps1
```
### Encrypting a Text String
1. Select `1` to Encrypt Text.
2. Enter a password.
3. Input the text you want to encrypt.
4. The tool displays the encrypted text.
### Decrypting a File
1. Select `4` to Decrypt a File.
2. Enter the same password used for encryption.
3. Provide the path to the encrypted file.
4. The decrypted content will replace the encrypted content in the file.
## Security Notes
- **Password Matching**: Ensure you use the same password for encryption and decryption.
- **Data Security**: Encrypted files and text should be handled carefully, as they will be overwritten in place.
## License
This project is licensed under the MIT License.