The encryption is referred to as the process to translate data (plain text) to a secret code. This is the most effective method to attain data security. A file is encrypted with the File Encryption Key (FEK) which it self encrypt or decrypt with Public key and the result is stored in the Data Decryption Field (DDF) that is attached to original encrypted file, and this is unique to a particular file. Their are two types of keys public key and private key, public key is used to encrypt the File Encryption Key and private key is used to decrypt the File Encryption Key, then File Encryption Key itself is used to encrypt/decrypt the original file. Decrypted data is known as plain text and encrypted data is known as cipher text.

Encryption is of two types - Symmetric and Asymmetric:

• Symmetric Encryption:

In this type of encryption, same key is used to encrypt and decrypt the message. The first method uses a secret key, such as the DES and AES algorithms. Both sender and receiver use the same key to encrypt and decrypt. This is the fastest computation method, but getting the secret key to the recipient in the first place is a problem that is often handled by the second method.

Name:  Encrypting Files and Foldefs.jpg
Views: 60
Size:  31.3 KB

•Asymmetric Encryption:

Symmetric block ciphers such 'as DES and AES can provide very high levels of security. However they have one obvious weakness, in that both sender and receiver must share the key, yet keep it secret from anyone else. Since a secret key would no longer be secret. To over this security problem Asymmetric or public key encryption is used. Public key encryption is a technique in which two keys are used a private key and a public key. These keys are related to each other mathematically. In order to exchange the data you have to generate a private key and public key. Now if you want to exchange the data with someone generate both the keys and then send the public key to the other person then he or she encrypt the data using public key and send encrypted data back to the sander and then sender use the private key to decrypt the data. That way you have to use both the key simultaneously.