MATLAB toolbox for hiding text inside images and retrieving hidden payloads using basic least-significant-bit steganography.
- Encode arbitrary text into lossless images via encoding.m
- Decode hidden payloads with decoding.m
- Command-line runner in main.m to demo the workflow
- Works with standard grayscale and RGB formats (PNG, TIFF, BMP)
- MATLAB
- Test images placed under data/input and output placeholders under data/output
- Update paths inside main.m to point to your source image and payload text.
- Run
mainin MATLAB. - Open the generated image under data/output to verify the embedded message.
- Use decoding.m on the stego image to extract the message.
- encoding.m: embeds text by modifying pixel LSBs
- decoding.m: reverses the embedding process
- main.m: sample pipeline tying both scripts together
- README.md: project overview (this file)