Suppose Alice computes the Secret suffix MAC (page 322: secret suffix MAC(x) = h(x || key)) for the message ”AM” with key  “G” that both Alice and Bob know. The hash function that is used is h(x1x2x3)= g(g(x1               XOR x2) XOR x3 ) where each xi is a character represented as 8 bits, and g(x) is a 8-bit string that is equal to the complement of bits in x. For example, g(10110011) = 01001100. The MAC is 8 bits. (8-bit ASCII representation of the characters is given below.)   1. What is the Secret suffix MAC computed by Alice? Show the MAC as the single character. 2. What information is sent by Alice to Bob.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

 Suppose Alice computes the Secret suffix MAC (page 322: secret suffix MAC(x) = h(x || key)) for the message ”AM” with key  “G” that both Alice and Bob know. The hash function that is used is h(x1x2x3)= g(g(x1

              XOR x2) XOR x3 ) where each xi is a character represented as 8 bits, and g(x) is a 8-bit string that is equal to the complement of bits in x. For example, g(10110011) = 01001100. The MAC is 8 bits. (8-bit ASCII representation of the characters is given below.)

 

1. What is the Secret suffix MAC computed by Alice? Show the MAC as the single character.

2. What information is sent by Alice to Bob.

Dec Hx Oct Char
Dec Hx Oct Html Chr
Dec Hx Oct Html Chr Dec Hx Oct Html Chr
0 000 NUL (null)
1 001 SOH (start of heading)
2 002 STX (start of text)
3 003 ETX (end of text)
4 004 EOT (end of transmission)
32 20 040   Space 64 40 100 @ @
65 41 101 A A
66 42 102 B B
67 43 103 C C
68 44 104 D D
96 60 140 `
3321 041 ! !
97 61 141 a
98 62 142 b b
99 63 143 #99;
100 64 144 d d
101 65 145 e e
70 46 106 F F 102 66 146 f f
71 47 107 G G 103 67 147 G#103; g
72 48 110 G#72; H 104 68 150 h h
105 69 151 i i
106 6A 152 j )
75 4B 113 K K 107 6B 153 k k
108 6C 154 l 1
77 4D 115 M M 109 6D 155 m m
78 4E 116 N N 110 6E 156 n n
111 6F 157 &#l1l; o
112 70 160 p p
81 51 121 Q Q 113 71 161 q a
82 52 122 R R 114 72 162 r r
115 73 163 s s
84 54 124 T T 1l6 74 164 t t
85 55 125 U U 117 75 165 u u
118 76 166 v v
87 57 127 W W 119 77 167 G#119; w
88 58 130 X X 120 78 170 x x
89 59 131 Y Y 121 79 171 y Y
122 7A 172 #122; z
123 7B 173 { {
124 7C 174 |
125 7D 175 } }
126 7E 176 ~
127 7F 177  DEL
a
2.
34 22 042 "
35 23 043 G#35; #
36 24 044 $ $
3
4
5 5 005 ENO (enquiry)
3725 045 % %
38 26 046 G#38; &
39 27 047 ' '
40 28 050 G#40;
41 29 051 G#41; )
(NL line feed, new line) 42 2A 052 * *
43 2B 053 G#43; +
(NP form feed, new page) 44 2C 054 ,
45 2D 055 -
69 45 105 E E
6 006 ACK (acknowledge)
7 007 BEL (bell)
8 010 BS
9 011 TAB (horizontal tab)
À 012 LF
B 013 VT
C 014 FF
D 015 CR
E O16 SO
F 017 SI
6
7
8.
(backspace)
73 49 111 I I
74 4A 112 J J
9
10
11
(vertical tab)
12
76 4C 114 L L
13
(carriage return)
(shift out)
(shift in)
46 2E 056 .
47 2F 057 G#47; /
48 30 060 0 0
49 31 061 G#49; 1
50 32 062 2 2
51 33 063 G#51; 3
52 34 064 4 4
79 4F 117 O 0
80 50 120 P P
15
16 10 020 DLE (data link escape)
17 11 021 Dci (device control l)
18 12 022 Dc2 (device control 2)
19 13 023 DC3 (device contrd 3)
20 14 024 DC4 (device controf 4)
21 15 025 NAK (negative acknowledge)
22 16 026 SYN (synchronous idle)
23 17 027 ETB (end of trans. block)
24 18 030 CAN (cancel)
25 19 031 EM
26 1A 032 SUB (substitute)
27 1B 033 ESC (escape)
28 1C 034 FS
29 1D 035 GS
30 1E 036 RS
31 1F 037 US
83 53 123 S S
53 35 065 5 5
54 36 066 G#54; 6
55 37 067 7 7
56 38 070 8 8
57 39 071 9 9
58 3A 072 : :
59 3B 073 &#59; ;
60 3C 074 G#60; <
61 3D 075 &#61; =
62 3E 076 G#62; >
63 3F 077 &#63; ?
86 56 126 &#86; V
(end of medium)
90 5A 132 &#90; Z
91 5B 133 &#91; [
92 5C 134 &#92;
93 5D 135 &#93; ]
(file separator)
(group separator)
(record separator)
(unit separator)
94 5E 136 &#94; *
95 5F 137 &#95;
3456
Transcribed Image Text:Dec Hx Oct Char Dec Hx Oct Html Chr Dec Hx Oct Html Chr Dec Hx Oct Html Chr 0 000 NUL (null) 1 001 SOH (start of heading) 2 002 STX (start of text) 3 003 ETX (end of text) 4 004 EOT (end of transmission) 32 20 040 &#32; Space 64 40 100 &#64; @ 65 41 101 &#65; A 66 42 102 &#66; B 67 43 103 &#67; C 68 44 104 &#68; D 96 60 140 &#96; 3321 041 &#33; ! 97 61 141 &#97; 98 62 142 &#98; b 99 63 143 #99; 100 64 144 &#100; d 101 65 145 &#101; e 70 46 106 &#70; F 102 66 146 &#102; f 71 47 107 &#71; G 103 67 147 G#103; g 72 48 110 G#72; H 104 68 150 &#104; h 105 69 151 &#105; i 106 6A 152 &#106; ) 75 4B 113 &#75; K 107 6B 153 &#107; k 108 6C 154 &#108; 1 77 4D 115 &#77; M 109 6D 155 &#109; m 78 4E 116 &#78; N 110 6E 156 &#110; n 111 6F 157 &#l1l; o 112 70 160 &#112; p 81 51 121 &#81; Q 113 71 161 &#113; a 82 52 122 &#82; R 114 72 162 &#114; r 115 73 163 &#115; s 84 54 124 &#84; T 1l6 74 164 &#116; t 85 55 125 &#85; U 117 75 165 &#117; u 118 76 166 &#118; v 87 57 127 &#87; W 119 77 167 G#119; w 88 58 130 &#88; X 120 78 170 &#120; x 89 59 131 &#89; Y 121 79 171 &#121; Y 122 7A 172 #122; z 123 7B 173 &#123; { 124 7C 174 &#124; 125 7D 175 &#125; } 126 7E 176 &#126; 127 7F 177 &#127; DEL a 2. 34 22 042 &#34; 35 23 043 G#35; # 36 24 044 &#36; $ 3 4 5 5 005 ENO (enquiry) 3725 045 &#37; % 38 26 046 G#38; & 39 27 047 &#39; ' 40 28 050 G#40; 41 29 051 G#41; ) (NL line feed, new line) 42 2A 052 &#42; * 43 2B 053 G#43; + (NP form feed, new page) 44 2C 054 &#44; 45 2D 055 &#45; 69 45 105 &#69; E 6 006 ACK (acknowledge) 7 007 BEL (bell) 8 010 BS 9 011 TAB (horizontal tab) À 012 LF B 013 VT C 014 FF D 015 CR E O16 SO F 017 SI 6 7 8. (backspace) 73 49 111 &#73; I 74 4A 112 &#74; J 9 10 11 (vertical tab) 12 76 4C 114 &#76; L 13 (carriage return) (shift out) (shift in) 46 2E 056 &#46; 47 2F 057 G#47; / 48 30 060 &#48; 0 49 31 061 G#49; 1 50 32 062 &#50; 2 51 33 063 G#51; 3 52 34 064 &#52; 4 79 4F 117 &#79; 0 80 50 120 &#80; P 15 16 10 020 DLE (data link escape) 17 11 021 Dci (device control l) 18 12 022 Dc2 (device control 2) 19 13 023 DC3 (device contrd 3) 20 14 024 DC4 (device controf 4) 21 15 025 NAK (negative acknowledge) 22 16 026 SYN (synchronous idle) 23 17 027 ETB (end of trans. block) 24 18 030 CAN (cancel) 25 19 031 EM 26 1A 032 SUB (substitute) 27 1B 033 ESC (escape) 28 1C 034 FS 29 1D 035 GS 30 1E 036 RS 31 1F 037 US 83 53 123 &#83; S 53 35 065 &#53; 5 54 36 066 G#54; 6 55 37 067 &#55; 7 56 38 070 &#56; 8 57 39 071 &#57; 9 58 3A 072 &#58; : 59 3B 073 &#59; ; 60 3C 074 G#60; < 61 3D 075 &#61; = 62 3E 076 G#62; > 63 3F 077 &#63; ? 86 56 126 &#86; V (end of medium) 90 5A 132 &#90; Z 91 5B 133 &#91; [ 92 5C 134 &#92; 93 5D 135 &#93; ] (file separator) (group separator) (record separator) (unit separator) 94 5E 136 &#94; * 95 5F 137 &#95; 3456
MAC{ (x) = h(k||x)
m
is called secret prefix MAC, and the second one:
m= MAC&(x) =h(x||k)
Transcribed Image Text:MAC{ (x) = h(k||x) m is called secret prefix MAC, and the second one: m= MAC&(x) =h(x||k)
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Blockchaining
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education