Today's Internet connected networks are under permanent attack by intruders and hackers. The explosive growth of computer systems and their interconnections has led to a heightened awareness of the need to protect the data transmitted. There are many ways already existing and also discovered daily. The field of cryptography has got more attention nowadays. There exist many encryption algorithms like RSA, DES, and AES etc. In this paper, the authors have proposed an idea for overcoming some serious drawbacks in steganography and they have tried to overcome those with their ideas. Here, the pixels in the images are replaced with the new ones, which are almost identical to the old ones, in a manner that can be used to retrieve back the hidden data.