Math & Beyond

Coding and Decoding

25th Aug '202 views5 mins read

25 August 2020

Reading Time: 4 minutes

As technology changes every day, and if technology grows we are updating our knowledge. We learn that Coding-Decoding is essential for reading, Then let's move to learn the updated version (or new concept) Coding-Decoding.

If, for example, in the classroom, the teacher has to teach something when the students get bored. Among them are two students who plan to go outside, but they are sitting in different seats. Still, they wanted to escape, so one student wrote some special symbols (secret message) on a piece of paper and passed it on to his friend. Even if a teacher notices that paper, they cannot recognize the message. And just like we are using codes, ciphers in the military, to keep the information confidential, the kids also use some passcode to alternate words in order to communicate something.

security

 


What do you mean by Encryption in coding and examples?

In cryptography, encryption is the procedure of transforming the plain text such as integers, characters, and special characters encoded data into cipher text such as illogical (not readable format) is called Encryption.

What do you mean by Plaintext?

Plaintext is the entry-point (input) of the encryption and exit-point (output) of the decryption. Plaintext consists of all mix-up messages; it is in the form of text (alphabets) and is easily readable by humans.  Plaintext should work on the encryption algorithm.
Example: Ramu has sent a “Hello” Message to Raghu.

plaintext


What do you mean by Decryption in decoding and examples?

In cryptography Decryption is the process of conversion of cipher text that is a meaningless word into a readable original format to plaintext is called Decryption.

What do you mean by Cipher text?

Cipher text is an encrypted text or messages transformed from plaintext, and makes use of encryption algorithms. And cipher text consists of messages unreadable by humans and computers by using the plain text (decrypt) it can be converted into readable form, make use of a decryption cipher algorithm to convert the cipher text into plaintext.
Example: The receiver Raju has received Ramu’s message “Hello” 

cipher text

The process of encryption and decryption contains two keys:

Symmetric-key

The symmetric algorithm is useful for cryptography, encryption of plaintext and decryption of cipher text. In that symmetric-keys are uniform and the transformation which is done in between the  two keys (public-keys) are the same.


symmetric key 

Public-key

The public-key cryptography uses two pairs of keys one is private-key and the other public-key. Private-key is accessible only by the owner. And the public-key is accessible by all the people (public). 

public key


Transforming plaintext to a cipher text?

  • There are two ways to convert the plaintext to cipher text.
  • The one is substitution techniques, and the other one is the transposition technique.
  • The substitution technique consists of the replacement of characters by characters and integers. The replacement of plaintext is substituted by other characters and integers.
  •  Example: Plaintext-CUEMATH    

                           Cipher text -ASH77G

  • The transposition techniques consist of the plaintext of letters that cannot be replaced with other characters, symbols. And only the plaintext of characters can be interchanged to create cipher text. 
  • Example: Plaintext-CUEMATH

                           Cipher text- HTAMEUC


How Encryption is Changed to Decryption?

  • The process of translating the data such as plaintext to encrypted.
  • The encrypted data to be converted into cipher text that is not readable by humans by using the public-keys.
  • The decryption procedure should start when the encrypted data is ready; it is in the form of cipher text.
  • The encrypted data is decrypted by using the private-key.
  • The decryption of cipher text that is in unreadable format is converted into plaintext such as readable format.

What do you mean by Cryptography?

Cryptography is the operation of protecting data and communication is done through code by the encryption process and decoded by the decryption process. The crypt meaning is referred to as “hidden” and graphy means “writing”.


Benefits of Encryption in coding and Decryption in decoding

  • It helps to secure the data when working remotely.
  • Security across multiple devices.
  • Move the information securely.
  • Coherence is maintained.

Frequently Asked Questions

1. What is Encryption?

Encryption is the process of changing the plaintext to cipher text.

2. What is Decryption?

Decryption is the process of changing the cipher text to plaintext.

3. What is plaintext?

Plaintext is the entry-point (input) of the encryption and exit-point (output) of the decryption. Plaintext consists of all mix-up messages; it is in the form of text (alphabets). And is easily readable by humans. And plaintext should work on the encryption algorithm.

4. What is cipher text?

Cipher text is an encrypted text or messages transformed from plaintext using an encryption algorithm. And cipher text consists of messages unreadable by humans and computers by using the plain text (decrypt) it can be converted into readable form. By using the decryption cipher algorithm is to convert the cipher text back into plaintext.

5. Advantages of Encryption?

  • It helps to secure the data.
  • It helps to secure the data when working remotely.
  • Security across multiple devices.
  • Move the information securely.
  • Coherence is maintained.

Conclusion

Another phase of Coding-Decoding can be used in cryptography; it helps to communicate the message securely to the concerned personnel. The purpose of encryption and decryption is to protect the data from the hackers. We can work anywhere in a secured manner without any intervention by the third party. It helps kids to learn how the information is secured and the workflow of the communication process.

         

 
 


Related Articles
GIVE YOUR CHILD THE CUEMATH EDGE
Access Personalised Math learning through interactive worksheets, gamified concepts and grade-wise courses
Learn More About Cuemath