LESSON 1 : FUNDAMENTAL DISCRETE STRUCTURE
Mr Jacky was caught by KGB, a secret Russian intelligence
service during spy mission in Moscow. He knew something big that are about to
happen in this country. While he was in interrogation, he writes a secret
message hoping that his friend could take further action. This is his message:
SURWHFW WKH NLQJ
Hint: Use Caesar Cipher to decrypt the secret messages.
Answer:
f(p) = (p-3) mod 26
S
|
U
|
R
|
W
|
H
|
F
|
W
|
W
|
K
|
H
|
N
|
L
|
Q
|
J
|
18
|
20
|
17
|
22
|
7
|
5
|
22
|
22
|
10
|
7
|
13
|
11
|
16
|
9
|
15
|
17
|
14
|
19
|
4
|
2
|
19
|
19
|
7
|
4
|
10
|
8
|
13
|
6
|
P
|
R
|
O
|
T
|
E
|
C
|
T
|
T
|
H
|
E
|
K
|
I
|
N
|
G
|
Source : My previous study
No comments:
Post a Comment