# Episode 98 - Encryption

> Episode of [The Backend Engineering Show with Hussein Nasser](https://podistic.com/podcast/the-backend-engineering-show-with-hussein-nasser.md) · Published June 16, 2019 · Duration 22:38

- **Listen on Podistic:** https://podistic.com/episode/episode-98-encryption
- **Audio:** https://traffic.megaphone.fm/APO4378135949.mp3 (audio/mpeg)

## About this episode

Encryption is the process of scrambling data to protect personal files, secure communication, hide identities and much more. 

In this video we will learn about the different type of encryptions we will talk about symmetric encryption, asymmetrical encryption, where they are used for and the pros and cons of each one. 

1.  Symmetric encryption
2.  Asymmetrical encrypt 
3.  Pros and cons of sym va asym 

Symmetric encryption 

Might as well just call it classic encryption I would argue and i think this is the first encryption known to us. I have some thing I dont want anyone to see I use a lock key to lock it. Only I can open it unless I have a lock. 

The same key you use to encrypt is the same key to Decrypt. 

Examples

Examples of popular symmetric-key algorithms include 

AES

Twofish

Serpent 

DES

[Twofish](https://en.m.wikipedia.org/wiki/Twofish), [Serpent](https://en.m.wikipedia.org/wiki/Serpent_\(cipher\)), [AES](https://en.m.wikipedia.org/wiki/Advanced_Encryption_Standard) (Rijndael), [Blowfish](https://en.m.wikipedia.org/wiki/Blowfish_\(cipher\)) 

[CAST5](https://en.m.wikipedia.org/wiki/CAST5), [Kuznyechik](https://en.m.wikipedia.org/wiki/Kuznyechik), [RC4](https://en.m.wikipedia.org/wiki/RC4), [DES](https://en.m.wikipedia.org/wiki/Data_Encryption_Standard), [3DES](https://en.m.wikipedia.org/wiki/Triple_DES), [Skipjack](https://en.m.wikipedia.org/wiki/Skipjack_\(cipher\)), Safer+/++ (Bluetooth), and [IDEA](https://en.m.wikipedia.org/wiki/International_Data_Encryption_Algorithm) 

Asymmetrical encryptions 

We had symmetric encryptions for a long time, then internet came and networking and we needed to encrypt messages going back and forth. We said cool lets use AES. Then we said wait a second.. the other computer doesnt really have my key so we need to encrypt it.. 

Also called Public key encryption 

1977 

**Rivest–Shamir–Adleman (RSA)** 

*   [Diffie–Hellman key exchange](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) protocol
*   DSS (Digital Signature Standard), which incorporates the [Digital Signature Algorithm](https://en.wikipedia.org/wiki/Digital_Signature_Algorithm)
*   [ElGamal](https://en.wikipedia.org/wiki/ElGamal_encryption)
*   Various [elliptic curve](https://en.wikipedia.org/wiki/Elliptic_curve_cryptography) techniques
*   Various [password-authenticated key agreement](https://en.wikipedia.org/wiki/Password-authenticated_key_agreement) techniques
*   [Paillier cryptosystem](https://en.wikipedia.org/wiki/Paillier_cryptosystem)
*   [RSA](https://en.wikipedia.org/wiki/RSA_\(cryptosystem\)) encryption algorithm ([PKCS#1](https://en.wikipedia.org/wiki/PKCS1))
*   [Cramer–Shoup cryptosystem](https://en.wikipedia.org/wiki/Cramer%E2%80%93Shoup_cryptosystem)
*   [YAK](https://en.wikipedia.org/wiki/YAK_\(cryptography\)) authenticated key agreement protocol
