What is it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is it?

I have written a program which will replace some characters with its inversely correspondence string. I don't know what is it Is it encryption, encoding or something else? https://code.sololearn.com/cE3ueqQ99JHm/?ref=app

27th Nov 2020, 11:09 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
3 Answers
+ 1
You remove 0 to 9 from a, b arrays, you can understand it.. It replaces then a with z, b with y,... inversely.. (if you have 1-9 then instead of z, replaces 9, 8 (not y),... You can say it encoding.., also simple encryption,...
27th Nov 2020, 12:36 PM
Jayakrishna 🇮🇳
+ 1
Encoding means converting the input from one form to another. Encryption is the process of encoding information for example plain text to encrypted text.. Ok. You can say encryption.. (if you have number as output, you can call encoding also..). Hope it helps to clear it..
27th Nov 2020, 2:06 PM
Jayakrishna 🇮🇳
0
Jayakrishna🇮🇳 Encoding and Encryption, both?
27th Nov 2020, 1:58 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar