9.3 An Example of FAPKC 361
s
(0),in
s
= 74, d1, 4a,
s
(0),out
s
= 69,
s
(1)
s
= 17, 06, d2, 70, 7f, a1, 65, 75; 69, ec, bf, cc, c9, 3e,
s
(0),in
d
= 74, d1, 4a,
s
(0),out
d
= 59, c2, 37, 81, b6,
s
(1),out
d
= 17, 06, d2, ef, 52, a5, 0c, de.
Let α be the sequence
4e 6f 20 70 61 69 6e 73 2c 6e 6f 20 67 61 69 6e 73 2e
over X, which is the ASCII code of the sentence “No pains,no gains.”.
For encryption, taking randomly α
10
= 89 b4 70 2a 92 07 ce cd 2a 4c,
then
λ(s
e
,αα
10
)=6f df a8 59 94 99 80 d7 91 d8 7f 65 ff 39 6d
a6 36 fe a6 7b 8b fc 08 78 03 75 13 e5
is a ciphertext of α,whereλ is the output function of C
(M
1
,M
0
), and
s
e
= s
out
e
,s
in
e
= 74, d1, 4a; 17, 06, d2, ef, 52, a5, 0c, de, 58, 37, 9b, 80, 4d.
For decryption, first compute
λ
0
(s
(0)
d
,β
1
)=14 d9 c2 26 af 38 fe 74 c2 2b 3b 74 1f 49 a0
69 c0 d7 15 43 58 a4 6a 55,
where β
1
= 94 99 80 d7 91 d8 7f 65 ff 39 6d a6 36 fe a6 7b 8b fc 08 78
03 75 13 e5, s
(0)
d
= 59, c2, 37, 81, b6; 59, a8, df, 6f, 74, d1, 4a. Then compute
λ
1
(s
(1)
d
,β
2
)=4e 6f 20 70 61 69 6e 73 2c 6e 6f 20 67 61 69 6e 73 2e
which is equal to the plaintext α,whereβ
2
= fe 74 c2 2b 3b 74 1f 49 a0 69
c0 d7 15 43 58 a4 6a 55, s
(1)
d
= 17, 06, d2, ef, 52, a5, 0c, de; 38, af, 26, c2,
d9, 14.
For signing, taking randomly c9, c8, 02, 95, 2e, 76, b0, 8d and α
10
= 2d 49
df fb 14 69 63 d7 e6 8d, first compute
λ
0
(s
(0)
s
,αα
10
)=35 2e 1a 75 74 92 9e 1c b0 14 4c a4 b0 3c 60
02 25 7d 9b 70 fb 62 11 88 c2 ec 76 b3
where s
(0)
s
= 69, c9, c8, 02, 95; 74, d1, 4a, 2e, 76, b0, 8d. Then compute
λ
1
(s
(1)
s
,λ
0
(s
(0)
s
,αα
10
)) = 33 bb bc 7b 95 95 87 2a 9d ec 1e 54 7a 18 fb
31 1f 4c 9c d8 4d a1 82 17 7a ce 25 2b