#### Encryption

Encryption is a way of rearranging or hiding data so that only authorized parties can understand the information. It is the process of converting plaintext to ciphertext. The ciphertext is the simpler terms, which is the data that is unreadable. To encrypt any data it requires encryption key which is a set of mathematical values that both the sender and receiver knows.

#### Importance of encryption

1. With the help of encryption no one can read communications or data and information except the intended recipient and the data owner.
2. It prevents cybercriminals, ad networks, Internet service providers, and other unauthorized people from accessing and reading sensitive data.
3. Encryption helps to protect the data even if the device containing such informative data is lost or stolen. The data can not be accessed by other people.
4. This allows third parties to exchange sensitive and important data without leaking them.
5. It prevents malicious behavior such as a Man-in-the-middle attack.

#### Encryption algorithm

An encryption algorithm is the process used to transform important data into ciphertext. This process uses a key in order to modify the data so that the encrypted data can be turned into plaintext by using the key again even if they are random.

#### Working of the Encryption algorithm

The user takes any text or string and converts it into ciphertext using a certain algorithm. And the original text seems to be different.

For example an algorithm for encryption can be turning the letter ‘a’ into letter d. In this case number ‘3’ can be added to the ASCII value of ‘a’. The ASCII value of ‘a’ is 97 so on adding 3 it becomes 100 which is ASCII value of ‘d’.

Now if the text is something like this “Sunway” then the encrypted text will be “Vxqzdb”.

#### 1. Triple DES

It is a triple Data Encryption Standard that was used to replace the original DES algorithm. It uses block cipher algorithms thrice to all the data blocks individually and the keys are 56 bits each. This makes the total key length of 168 bits. Every individual block constitutes of 64-bit data.

#### 2. RSA

The algorithm is named after its designers Rivest-Shamir-Adleman. In the 1970’s Ron Rivest, Adi Shamir, and Leonard Adleman discovered the encryption method while working for the Massachusetts Institute of Technology. It is a public-key encryption algorithm for encrypting data sent over the internet. This offers protection against cyber attacks by detecting and responding to threats, preventing online fraud, management identification. RSA is considered an asymmetric algorithm because it uses a pair of keys. The public key is used to encrypt a message and a private key to decrypt it. It takes attackers quite a bit of time and processing power to break this encryption code.

#### 3. Blowfish

It is an alternative to DES. This symmetric cipher splits messages into blocks of 64 bits and encrypts them individually. Blowfish has tremendous speed and effective and it is provided free in the domain.It can be found in securing from e-commerce platforms for securing payments to password management tools, where it used to protect passwords. It’s definitely one of the more flexible encryption methods available.

#### 4. Twofish

The idea behind Twofish is Computer security expert Bruce Schneier. 256 bits in length keys with asymmetric technique is used with only one key. It is one of the fastest and ideal for use in both hardware and software environments. It is also freely available to anyone.

#### 5. AES

The Advanced Encryption Standard (AES) is extremely efficient in 128-bit form, AES also uses keys of 192 and 256 bits for heavy-duty encryption purposes. It is largely considered impervious to all attacks, with the exception of brute force, which attempts to decipher messages using all possible combinations in the 128, 192, or 256-bit cipher.