This repository implements a steganography method that combines AES encryption with K-means clustering and LSB steganography. The method first encrypts the plaintext using AES encryption. Then, the ECC encripts the AES key . Then, the image's pixels are clustered using the K-means clustering technique. Finally, cluster-wise steganography using LSB technique is performed to embed the encrypted plaintext into the clustered images. These stego-images along with ECC Encripted AES key is sent to the Receiver for decryption.
-
AES and ECC encryption:
- Run the
main_encrypt.cpp
file in theEncryption-AES
directory. - Enter the plaintext to be encrypted.
- The AES algorithm will generate a random key to encrypt the plaintext.
- The ECC algorithm will encrypt the AES key and send the encrypted "Key.txt" file to the "AES Decryption" folder.
- The encrypted plaintext is stored in an "example.txt" file and sent to the "K-Means LSB Encription" folder.
- Run the
-
K-means and LSB encryption:
-
LSB Decryption:
-
AES Decryption: