Data security is the main process of protecting data. It looks out the availability, integrity and privacy. Many small and large scale group of organization put their data on computer systems and out of which many of data is confidential. This paper is to protect network from vulnerabilities, threats, attacks, etc. Only one particular element is mainly responsible for security is: cryptographic techniques; hence the authors' main focus is on the area of cryptography. Cryptography is a term which is still in its developing stages and a considerable research effort is still required for secured data transformation between parties.