https://github.com/sctech-tr/lockedimg
secure image locker in C that encrypts your images with a password and requires a password to decrypt them
https://github.com/sctech-tr/lockedimg
Last synced: 6 months ago
JSON representation
secure image locker in C that encrypts your images with a password and requires a password to decrypt them
- Host: GitHub
- URL: https://github.com/sctech-tr/lockedimg
- Owner: sctech-tr
- License: apache-2.0
- Created: 2024-10-28T16:05:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T18:09:58.000Z (about 1 year ago)
- Last Synced: 2025-03-17T15:27:38.534Z (10 months ago)
- Language: C
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Locked Image Tool (`lockedimg`)
`lockedimg` is a simple command-line utility for encrypting and decrypting images with password protection. This tool supports various image formats and saves encrypted files with a `.lockedimg` extension, which can be decrypted with the correct password.
## Features
- **Encrypt** and **decrypt** image files using AES-256 encryption.
- Supports common image file formats: `.jpg`, `.jpeg`, `.png`, `.bmp`, `.gif`, `.ico`, `.bruh`, `.jfif`, `.svg`, and `.lockedimg`.
- **Optional deletion** of encrypted files after decryption.
## Requirements
- **OpenSSL** library is required for encryption and decryption functionality.
- A **C compiler** such as GCC.
## Compilation (for devs)
Compile the project using `make`:
```bash
make
```
This will produce an executable named `lockedimg`.
## Installation
Download the latest zip archive from the releases tab, extract it and run `./lockedimg`
## Usage
```bash
lockedimg [--no-deletion]
```
## Parameters
- ``: Choose between encrypt or decrypt.
- ``: Path to the image file.
- ``: Password for encryption or decryption.
- `--no-deletion`: Optional. Prevents deletion of the encrypted file after decryption.
## Examples
### Encrypt an image
```bash
lockedimg encrypt image.jpg mypassword123
```
### Decrypt an image without deletion
```bash
lockedimg decrypt image.jpg.lockedimg mypassword123 --no-deletion
```
## Help
Run the following for help information:
```bash
lockedimg --help
```
## Cleanup (for devs)
To remove the executable and object files:
```bash
make clean
```
## License
Apache-2.0 License