The 'EncodeDecode' is a Java Swing application that allows the user to either encode a message into an image or decode a hidden message from an image. The encoding process involves taking an input image, converting it into a byte array, and then modifying the least significant bit of each byte to store a character of the input message. The message length is also stored in the first 4 bytes of the image. The decoding process involves extracting the message from the least significant bits of the bytes in the image based on the length stored in the first 4 bytes. The GUI provides options for the user to either encode or decode, select an image file to work with, and enter the text to be encoded (if applicable). The Java AWT and Swing libraries are used to create various UI components such as toggle buttons, text areas, and file chooser dialogs. The 'EncodeDecode' also includes various helper methods to assist in image manipulation and I/O operations. Overall, this class provides a simple and effective way to hide and retrieve messages within image files.
-
Notifications
You must be signed in to change notification settings - Fork 0
neeleshpandey/EncodeDecode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Data Hiding in Image using LSB Technique