StegaCrypt is an interactive image steganography application that allows users to securely hide and retrieve messages within images. Built using OpenCV, NumPy, and Streamlit, this tool ensures seamless encryption and decryption while maintaining the imageβs visual integrity. The Image Steganography App uses a Least Significant Bit (LSB) Modification Technique for encoding and decoding hidden messages within images. Below is a breakdown of how the encryption and decryption process works:
- Convert each character of the message to its ASCII value.
- Embed the ASCII values into the RGB pixel values of the image.
- Traverse the image in a cyclic order across R, G, and B channels.
- Append a null character (
\0
) to mark the end of the message. - Save the modified image as the encrypted image.
- Read pixel values in the same order as encryption.
- Convert the extracted values back to characters using ASCII mapping.
- Stop reading when the null character (
\0
) is found. - Display the decoded secret message. π
π Secure Message Encryption β Hide secret messages inside images without altering their appearance.
πΌοΈ Seamless Image Processing β Uses OpenCV and NumPy to efficiently encode and decode messages.
β‘ Lightning-Fast Encryption & Decryption β Instantly embed and retrieve messages.
π¨ User-Friendly Interface β A simple and interactive UI powered by Streamlit.
π€ Easy File Handling β Upload, encrypt, download, and decrypt images effortlessly.
π No Data Loss β Ensures accurate extraction of hidden messages without corruption.
π οΈ Lightweight & Portable β Runs smoothly on any system with minimal dependencies.
π Password Protection (Future Enhancement) β Adds an extra security layer for hidden messages.
Before running StegaCrypt, ensure you have the following installed:
- Python 3.x
- OpenCV (
opencv-python
) - NumPy (
numpy
) - Streamlit (
streamlit
)
- Clone the repository:
git clone https://github.com/your-username/StegaCrypt.git cd StegaCrypt