we all know that presently in 21st century one of the most emerging problem is Data Security. There is no guarantee that the data we have sent may be hacked by any Hacker or the data we have sent may reach correctly to the receiver or not. So many data security techniques have been emerged from past 2 to 3 years. But still we need a best technique to protect the data from third parties. Cryptography is an art of scrambling the data in order to provide security and confidentiality. Cryptography is being used in order for the securely transmission of the data. This paper provides a new idea for Data encryption and decryption in order to provide security for data.