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.
- 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.
- OpenSSL library is required for encryption and decryption functionality.
- A C compiler such as GCC.
Compile the project using make
:
make
This will produce an executable named lockedimg
.
Download the latest zip archive from the releases tab, extract it and run ./lockedimg
lockedimg <action> <image file path> <password> [--no-deletion]
<action>
: Choose between encrypt or decrypt.<image file path>
: Path to the image file.<password>
: Password for encryption or decryption.--no-deletion
: Optional. Prevents deletion of the encrypted file after decryption.
lockedimg encrypt image.jpg mypassword123
lockedimg decrypt image.jpg.lockedimg mypassword123 --no-deletion
Run the following for help information:
lockedimg --help
To remove the executable and object files:
make clean
Apache-2.0 License