Skip to content

andycui97/csua_hackathon

 
 

Repository files navigation

Bookshelf

Authors: Mehdi Kazi, Andy Cui, Oliver Dong, Alex Krentsel

Description

This code encrypts text into the RGB values for each pixel in the image in such a way that it is not visibile to the human eye, but can be decrypted to recover the original text. The decryption requires a key provided by the encryptor. If the key is lost, the text is unrecoverable.

The demo application of this code encrypts the entire text of books into the image of their cover, which can then be decrypted on any device provided that you have the key generated at encryption.

Written in Python, along with CSS and HTML for the front end. Output files must be .png images.

Currently in progress:

  • Huffman Encoding to compress text before encryption and then decompress it after. Based on initial test runs, this cuts down thenumber of bytes by 45%.

Required Libraries

  1. Pillow 3.0.0
  2. Cryptography 1.2

Source Files

  1. csua_frontend - All required files for the front end.
  2. cat.jpg - Test file for input.
  3. frontend.py - No longer supported.
  4. open_read_file.py - Provides reading and writing to files.
  5. secret.txt - Sample input file.
  6. steno.py - Main stenography file. Self prompting - run through command line.
  7. unsteno.py - Main reverse stenography file. Self prompting - run through command line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.7%
  • HTML 20.8%
  • CSS 2.5%