ImageEncryptor is a program allowing user to hide different types of data (just strings for now) inside pictures, encrypting them with a user-defined key.
Use the most recent release to install ImageEncryptor.
Make sure at least .NET Core 3.1 is installed
dotnet version
- Find a picture, or create one. Depending on amounts of data you want to encrypt, you'll need different resolutions. Keep in mind, to have the best result, Width mod 3 should equal 0. For example, 99x99 picture can fit 200+ letters.
- Open the program. Enter
1
. Enter the path to the picture. - Define a password or leave it empty. 4.1 Read warnings if there are any. Press ENTER to acknowledge every warning. 4.2 Define content to hide in a picture. It may be any text with any characters.
- If there were no errors, output will be in
new.bmp
- Open the program. Enter
2
. Enter the path to the picture or the file. - Enter password if there was any. Else, leave it empty.
- Hidden contents of the file should appear.
Pull requests and code changes are welcome. For major changes, or new features, please open an issue first to discuss what you would like to change.
System.Security.Cryptography.CryptographicException: 'Specified key is a known weak key for 'TripleDES' and cannot be used.'
- Please, use a password that is not a common password for hackers to prevent losing security factor of hiding data inside pictures.
[!!!] Encrypted image content WILL differ from old image. Press ENTER to acknowledge.
- Not an error, but a warning. It means, that W % 4 == 0. Unfortunately, due to algorithm that we use to hide data inside pictures, we have to extend your picture 1 pixel to the right if W % 4 == 0.
[!!!] Text to encode is too big to fit inside an image. Program will be stopped.
- Decrease text length and increase picture width. Make sure width % 3 equals 0, as it gets the best results.
[---] Couldn't confirm the password.
- Wrong password. Try leaving it empty, or recheck if password is correct.
Q: I've accidentally forgot the password for a picture! How do I retrieve my data?
A: You can't. We use TripleDES to encrypt contents before hiding them
Q: Does picture quality decrease after encrypting?
A: No, the only quality loss is you can't have transparency in your pictures.
Q: Program doesnt seem to run properly/doesn't start at all!
A: Make sure that you have both .NET Core 3.1 and .NET Framework
Q: Do you support Windows XP/2000/98/95?
A: No