Skip to content

jackcogdill/stealthpng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Steganography program written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published