|
@@ -39,11 +39,11 @@ In other words, two successive applications of ROT13 restore the original text (
|
39
|
39
|
The transformation can be done using a lookup table, such as the following:
|
40
|
40
|
|
41
|
41
|
```
|
42
|
|
-// for ROT13('a'/'m')
|
|
42
|
+// for ROT13('a', 'm')
|
43
|
43
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
44
|
44
|
Output NOPQRSTUVWXYZABCDEFGHIJKLM nopqrstuvwxyzabcdefghijklm
|
45
|
45
|
|
46
|
|
-// for ROT13('a'/'d')
|
|
46
|
+// for ROT13('a', 'd')
|
47
|
47
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
48
|
48
|
Output EFGHIJKLMNOPQRSTUVWXYZABCD efghijklmnopqrstuvwxyzabcd
|
49
|
49
|
```
|