Encryption is a process of hiding the meaning of a part of the information and only authorized persons can read the actual data. This process is used to protect data that is being transferred from one location to another. This process is very much needed by a secure computing environment.
Decryption ->When we encrypt data then for the authorized person we need to decrypt that data. Encryption is also known as “cipher” and decryption process is “decipher”.
The methods which are providing security to our information, are given next level of security by “keys”. Now lets talk about keys , the one who is having key only that can encode and decode the information. Here in our code we have used the following API for encryption and decryption. The level of security of an encryption scheme is directly proportional to the its key size. Key sizes should be long enough due to which attacks become unfeasible.
Algorithms :
1.Symmetric encryption algorithms: This alogrithm uses the exactly same key for data encryption and data decryption. For this algorithm use AES or AESWrap block cipher 2.Asymmetric (public key) encryption algorithms: This algorithm uses two different keys for both the processes. For this algorithm use RSA.
Following parameters should be configured correctly to configure any encryption scheme securely.
1.Choosing the correct algorithm
2.Choosing the correct operation mode
3.Choosing the right padding scheme
4.Choosing the right keys and their sizes
Read more at - http://www.oodlestechnologies.com/blogs/Data-Security-By-Using-Encryption-And-Decryption-In-Java
CODE DEMO FOR IMPLEMENTING ENCRYPTION AND DECRYPTION
No comments:
Post a Comment