2. ROT13 is a cyclic shift cipher that substitutes each English letter with one
ID: 3678542 • Letter: 2
Question
2. ROT13 is a cyclic shift cipher that substitutes each English letter with one that is 13 away in the alphabet. It is used today not for security, but as a simple obfuscation device, because the same algorithm is used for both encryption and decryption. People wishing to encrypt or decrypt a message, M (such as a spoiler paragraph in a movie review), just cut-and-paste M to a ROT13 converter and click a button APPLY" to do the encryption or decryption. Give an example of another ROTi transformation that could be used for both encryption and decryption in a similar way.
Explanation / Answer
The following are examples of variants of ROTi that could be used for both encryption and decryption .
ROT1
Each letter is shifted 1 place :
For example
abcdefghijklmnopqrstuvwxyz
becomes:
bcdefghijklmnopqrstuvwxyza
ROT5 - Transforms only numbers.
Each number is shifted 5 places :
0123456789
becomes:
5678901234
ROT47 - Transforms ASCII characters 33-126.
Each character is shifted 47 places :
!"#$%&'()*+,./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~
becomes:
PQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
Example of ROT47- This is an eample
becomes
%9:D :D 2? 6I2FA@6
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.