# Conventional Encryption

• Difficulty Level : Basic
• Last Updated : 03 Sep, 2021

Conventional encryption is a cryptographic system that uses the same key used by the sender to encrypt the message and by the receiver to decrypt the message. It was the only type of encryption in use prior to the development of public-key encryption.

It is still much preferred of the two types of encryption systems due to its simplicity. It is a relatively fast process since it uses a single key for both encryption and decryption In this encryption model, the sender encrypts plaintext using the receiverâ€™s secret key, which can be later used by the receiver to decrypt the ciphertext. Below is a figure that illustrates this concept.

Suppose A wants to send a message to B, that message is called plaintext. Now, to avoid hackers reading plaintext, the plaintext is encrypted using an algorithm and a secret key (at 1). This encrypted plaintext is called ciphertext. Using the same secret key and encryption algorithm run in reverse(at 2), B can get plaintext of A, and thus the message is read and security is maintained.

The idea that uses in this technique is very old and that’s why this model is called conventional encryption.

Conventional encryption has mainly 5 ingredients :

1. Plain text –
It is the original data that is given to the algorithm as an input.

2. Encryption algorithm –
This encryption algorithm performs various transformations on plain text to convert it into ciphertext.

3. Secret key –
The secret key is also an input to the algorithm. The encryption algorithm will produce different outputs based on the keys used at that time.

4. Ciphertext
It contains encrypted information because it contains a form of original plaintext that is unreadable by a human or computer without proper cipher to decrypt it. It is output from the algorithm.

5. Decryption algorithm –
This is used to run encryption algorithms in reverse. Ciphertext and Secret key is input here and it produces plain text as output.

Requirements for secure use of conventional encryption :

1. We need a strong encryption algorithm.
2. The sender and Receiver must have obtained copies of the secret key in a secure fashion and must keep the key secure.

1. Simple –
This type of encryption is easy to carry out.

2. Uses fewer computer resources –
Conventional encryption does not require a lot of computer resources when compared to public-key encryption.

3. Fast –
Conventional encryption is much faster than asymmetric key encryption.