When talking about encryption, most people think of it as only a decade old. However, it is deeply rooted in history. The most famous example can be from the Second World War, when Germans used a machine called Enigma to encrypt the messages before being transferred to their navy.
Traditional data encryption methods were obviously easy to crack by using reverse engineering. But modern encryption techniques are much more complex and require a lot of computing power to crack.
Encryption is mostly used to make information unreadable to anyone trying to intercept the message between sender and receiver.
If anyone other than these two parties want to read the data, it will be in a scrambled or coded form making it unreadable for them. Once decrypted it regains its original form.
In your day-to-day life you encounter several Hyper-networking platforms such as Whatsapp or Online Banking Portals that utilize encryption techniques for secure transmission of data, from one node to another. Though we are familiar with the word but still there is a huge nomenclature associated with encryption standards, which you should be aware of.
So, without wasting any time let’s dive deeper into it!
Encryption Terms Every Computer User Must Know
Plaintext or cleartext is the most basic of the terminologies that is unencrypted and readable by everyone. The data which is left pending for input to encryption algorithms is termed as ‘plaintext’.
It is the encrypted or illegible data which is the result of encryption algorithm. It is a collection of random numbers and characters, making it useless. ciphertext is sometimes rendered as Cipher but it is more of an algorithm to convert plaintext to ciphertext.
Cryptographic keys are the means of encryption/decryption of data. It is essential for cryptographic algorithms to understand how plain text will be converted into ciphertext. A key eliminates the need of remembering the entire encryption algorithm, and serves to be an ultimate means of security. The difference between a key and a password is that, a key is algorithm-generated while a password is user-generated.
Websites convert the plaintext password to hash using an encryption algorithm and the process is called Hashing. The sender sends the encrypted message as well as the hash to the receiver and the receiver on the other end decrypts the hash as well as the message. Receiver then generates a hash and compare it with the received one. If they appear to be identical, then it accounts for a secure transmission.
Hashing is a faster mode of rendering, since sorting a shortened key value is more efficient rather than using the original value.
Traditional security methods require additional steps to enhance security. Salting adds a salt which is a random data to the hashed password. The process is called Salting the passwords.
There’s a possibility that people might have same passwords, so to provide more preservation, salting is done.
For example, if two users have same password: Nintendo@91
After hashing, Nintendo@91 is converted into:
But in case, if a hacker attacks the database and reaches this hash, then each account with same hash is equally vulnerable. So, we add a separate salt for each individual to enhance the security.
Example #1: Nintendo@91 + tuna:
Example #2: Nintendo@91 + Raisins:
After adding salts to each individual’s password, we can compare the hashes of same passwords With and Without salting-
With salting example #1:
With salting example #2:
Symmetric and Asymmetric Algorithms
Modern encryption algorithm operates on two modes: Symmetric and Asymmetric Algorithms. Symmetric Algorithms uses same key for both encryption and decryption. The key is agreed by both the parties based on mutual understanding. Asymmetric Algorithms uses two different keys: a public key and a private key. This ensures a secure encryption without any need of mutual agreement.
Public and Private Keys
A public key is distributed to everyone in the network but a private key is restricted to a user only. A public key is used to encrypt the message while the recipient needs a private key of the owner to decrypt the message and read the whole content.
Whenever someone sign a message or a written document, the message is bind with the signatory. Similarly, a digital signature binds the signatory to the digital data. This digital signature can be used to identify the signatory individually by the receiver or any third-party. Signing a hash is more efficient than signing the entire data for faster rendering.
What is Encryption-Decryption Anomaly?
In Encryption, plain text along with encryption key is served as an input to the algorithm to convert the plain text to scrambled or unreadable form. This encrypted message is sent to the receiving party who is able to read the message with a key.
The reverse process is Decryption, the encrypted message or the cipher text received from the sender along with a decryption key is sent as an input to the decryption algorithm to convert the cipher text back to the plain text or readable text.
These encryption and decryption keys are generated by mathematical computations which generates a random number. These keys are valid for a limited time or a session only, after the session end key gets expired.
Without encryption, it will be very difficult to carry out most of the vital task we do over the Internet, especially Online transactions. We realis that the mathematical underpinnings attached to encryption is a complicated task for a layman to understand because most of the people are not familiar with the terminologies associated with it. We hope this blog has been a treat for you to grasp the basic encryption terms & its meaning.