Stealthpng is a steganography program made by Jack Cogdill written in C. It uses libpng and openssl for encryption.
Code taken from here (plaintext) to serve as a basis for libpng functions, and code also used from here (plaintext) to help with the AES encryption and decryption with openssl.
Otherwise completely written from scratch by Jack Cogdill and licensed with GPLv3.
- Hides plaintext data or files in the least significant bits of pixels in png images
- Uses 256 bit AES for encryption
- To protect against brute forcing, the password is hashed 65536 times with SHA512 for the key (still, the longer the password, the more secure it is)
- For security, there is no way of knowing if the decryption was successful. If you input an incorrect password, the resulting data will just be a bunch of garbage
Note: Must have libpng and openssl libraries installed to compile correctly, as well as pkg-config
Simply run ./configure && make
Download this image and run $ ./stealthpng -d <image>
. Decode with the password onegai
Note: when encoding, by default the program outputs to a new png file called "new-image.png"
Run ./stealthpng -h
for more options.