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:
makeThis 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 mypassword123lockedimg decrypt image.jpg.lockedimg mypassword123 --no-deletionRun the following for help information:
lockedimg --helpTo remove the executable and object files:
make cleanApache-2.0 License