|
|
|
|
39
|
The transformation can be done using a lookup table, such as the following:
|
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
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
43
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
44
|
Output NOPQRSTUVWXYZABCDEFGHIJKLM nopqrstuvwxyzabcdefghijklm
|
44
|
Output NOPQRSTUVWXYZABCDEFGHIJKLM nopqrstuvwxyzabcdefghijklm
|
45
|
|
45
|
|
46
|
-// for ROT13('a'/'d')
|
|
|
|
|
46
|
+// for ROT13('a', 'd')
|
47
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
47
|
Input ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
|
48
|
Output EFGHIJKLMNOPQRSTUVWXYZABCD efghijklmnopqrstuvwxyzabcd
|
48
|
Output EFGHIJKLMNOPQRSTUVWXYZABCD efghijklmnopqrstuvwxyzabcd
|
49
|
```
|
49
|
```
|