#### Encryption Algorithm

#### 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

**With the help of encryption no one can read communications or data and information except the intended recipient and the data owner.****It prevents cybercriminals, ad networks, Internet service providers, and other unauthorized people from accessing and reading sensitive data.****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.****This allows third parties to exchange sensitive and important data without leaking them.****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

**can be added to the ASCII value of ‘**

*‘3’***. The ASCII value of**

*a’***is**

*‘a’***so on adding**

*97***it becomes**

*3***which is ASCII value of**

*100***.**

*‘d’*Now if the text is something like this** “Sunway” **then the encrypted text will be

**.**

*“Vxqzdb”*#### Types of the encryption algorithm

**1. Triple DES**

It is a triple ** Data Encryption Standard **that was used to replace the original

**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.**

*DES***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.

**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.**

*RSA***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.

Subscribe to our Youtube Channel

Subscribe