Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.69 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.69 KB

stealthpng

About

Stealthpng is a steganography program made by Jack Cogdill written in C. It uses libpng and openssl for encryption.

License and credits

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.

Features

  • 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

Compiling

Note: Must have libpng and openssl libraries installed to compile correctly, as well as pkg-config

Simply run ./configure && make

Example

Download this image and run $ ./stealthpng -d <image>. Decode with the password onegai

Image

Help

Note: when encoding, by default the program outputs to a new png file called "new-image.png"

Run ./stealthpng -h for more options.