*Encryption is a method that encodes the data that is unreadable by unintended parties.*

*For example we want to send a text “The wardrobe key is on the kitchen shelf” secretly to another peer. This is clear text information and can be read by the hacker easily. With help of encryption we can encrypt this text before sending and any of the middle man/hacker will not be able to identify the real text/data sent.*

*The above text will look like like a output of random characters as given below:*

**“XpgWyZabcd15ulWzaeBPTXuhalDqMYZTxzPOvzySYlajkashfasydoasfkl”**

*This can only be decrypted by the intended party that posses the key for decryption.*

*Encryption Algorithms are of two types:*:*Symmetrical Algorithm**A symmetrical algorithm is defined as a shared key algorithm that is used to encrypt and decrypt a message. Symmetrical algorithms use the same key to encrypt and decrypt the message.*

*Examples of Symmetrical Algorithms:**Data Encryption Standard (DES) – 56 Bit Key*

*3 DES – 168 Bit Key*

*Advanced Encryption Standard (AES) – 128 or 256 Bit Key.*

**Asymmetrical Algorithm**:*An asymmetrical algorithm is defined as an algorithm that uses a pair of keys to securely encrypt and decrypt a message. Asymmetrical algorithms use one key to encrypt and a different, but related, key to decrypt.*

**Examples of Asymmetric Algorithms:***RSA, ElGamal, and elliptic curves.*