se 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.)   What is the Secret suffix MAC computed by Alice? Show the MAC as the single character. 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

 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.
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)
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 @ @
3321 041 ! !
96 60 140 `
65 41 101 A A
97 61 141 a
98 62 142 b b
99 63 143 c
100 64 144 d d
69 45 105 E E 101 65 145 e e
70 46 106 F F 102 66 146 G#102; f
71 47 107 G G 103 67 147 G#103; g
72 48 110 H H 104 68 150 h h
105 69 151 i i
106 6A 152 j j
75 4B 113 K K 107 6B 153 k k
108 6C 154 l 1
109 6D 155 m m
a
rr
2.
34 22 042 "
66 42 102 B B
35 23 043 G#35; #
3624044 $ $
67 43 103 C C
68 44 104 D D
3
4
5 5 005 ENQ (enquiry)
37 25 045 % *
6 006 ACK (acknowledge)
7 007 BEL (bell)
8 010 BS
9 011 TAB (horizontal tab)
À 012 LF
в 013 VT
C 014 FF
D 015 CR
E 016 SO
F 017 SI
38 26 046 & &
7
39 27 047 ' '
40 28 050 G#40;
41 29 051 ) )
(NL line feed, new line) 42 2A 052 * *
43 2B 053 G#43; +
(NP form feed, new page) 44 2C 054 , ,
45 2D 055 -
46 2E 056 .
47 2F 057 G#47; /
48 30 060 0 0
(backspace)
73 49 111 I I
74 4A 112 J J
10
11
(vertical tab)
12
76 4C 114 L L
77 4D 115 M M
78 4E 116 N N
79 4F 117 O 0
80 50 120 P P
81 51 121 Q Q 113 71 161 q q
82 52 122 R R 11472 162 r r
13
(carriage return)
(shift out)
(shift in)
110 6E 156 n n
1l1 6F 157 &#lll; o
112 70 160 p p
14
15
16 10 020 DLE (data link escape)
17 11 021 Dci (device control 1)
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 lA 032 SUB (substitute)
27 1B 033 ESC (escape)
28 10 034 FS
29 1D 035 GS
30 IE 036 RS
31 1F 037 US
49 31 061 1 1
50 32 062 2 2
51 33 063 3 3
52 34 064 4 4
53 35 065 5 5
83 53 123 S S
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
86 56 126 V v 118 76 166 v v
54 36 066 6 6
55 37 067 7 7
56 38 070 G#56; 8
87 57 127 W W
119 77 167 w w
88 58 130 X X 120 78 170 x x
89 59 131 Y Y 121 79 171 y Y
90 5A 132 Z Z
91 5B 133 [ [
92 5C 134 \ \
(end of medium)
57 39 071 9 9
58 3A 072 : :
59 3B 073 &#59; ;
60 3C 074 G#60; <
61 3D 075 &#61; =
62 3E 076 &#62; >
63 3F 077 &#63; ?
122 7A 172 &#122; z
(file separator)
(group separator)
(record separator)
(unit separator)
123 7B 173 &#123; {
124 7C 174 &#124; |
125 7D 175 &#125; }
126 7E 176 &#126;
127 7F 177 &#127; DEL
Source: www.Lookup Tables.com
93 5D 135 &#93; ]
94 5E 136 &#94; *
95 5F 137 &#95;
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; @ 3321 041 &#33; ! 96 60 140 &#96; 65 41 101 &#65; A 97 61 141 &#97; 98 62 142 &#98; b 99 63 143 &#99; 100 64 144 &#100; d 69 45 105 &#69; E 101 65 145 &#101; e 70 46 106 &#70; F 102 66 146 G#102; f 71 47 107 &#71; G 103 67 147 G#103; g 72 48 110 &#72; H 104 68 150 &#104; h 105 69 151 &#105; i 106 6A 152 &#106; j 75 4B 113 &#75; K 107 6B 153 &#107; k 108 6C 154 &#108; 1 109 6D 155 &#109; m a rr 2. 34 22 042 &#34; 66 42 102 &#66; B 35 23 043 G#35; # 3624044 &#36; $ 67 43 103 &#67; C 68 44 104 &#68; D 3 4 5 5 005 ENQ (enquiry) 37 25 045 &#37; * 6 006 ACK (acknowledge) 7 007 BEL (bell) 8 010 BS 9 011 TAB (horizontal tab) À 012 LF в 013 VT C 014 FF D 015 CR E 016 SO F 017 SI 38 26 046 &#38; & 7 39 27 047 &#39; ' 40 28 050 G#40; 41 29 051 &#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; 46 2E 056 &#46; 47 2F 057 G#47; / 48 30 060 &#48; 0 (backspace) 73 49 111 &#73; I 74 4A 112 &#74; J 10 11 (vertical tab) 12 76 4C 114 &#76; L 77 4D 115 &#77; M 78 4E 116 &#78; N 79 4F 117 &#79; 0 80 50 120 &#80; P 81 51 121 &#81; Q 113 71 161 &#113; q 82 52 122 &#82; R 11472 162 &#114; r 13 (carriage return) (shift out) (shift in) 110 6E 156 &#110; n 1l1 6F 157 &#lll; o 112 70 160 &#112; p 14 15 16 10 020 DLE (data link escape) 17 11 021 Dci (device control 1) 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 lA 032 SUB (substitute) 27 1B 033 ESC (escape) 28 10 034 FS 29 1D 035 GS 30 IE 036 RS 31 1F 037 US 49 31 061 &#49; 1 50 32 062 &#50; 2 51 33 063 &#51; 3 52 34 064 &#52; 4 53 35 065 &#53; 5 83 53 123 &#83; S 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 86 56 126 &#86; v 118 76 166 &#118; v 54 36 066 &#54; 6 55 37 067 &#55; 7 56 38 070 G#56; 8 87 57 127 &#87; W 119 77 167 &#119; w 88 58 130 &#88; X 120 78 170 &#120; x 89 59 131 &#89; Y 121 79 171 &#121; Y 90 5A 132 &#90; Z 91 5B 133 &#91; [ 92 5C 134 &#92; \ (end of medium) 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 &#62; > 63 3F 077 &#63; ? 122 7A 172 &#122; z (file separator) (group separator) (record separator) (unit separator) 123 7B 173 &#123; { 124 7C 174 &#124; | 125 7D 175 &#125; } 126 7E 176 &#126; 127 7F 177 &#127; DEL Source: www.Lookup Tables.com 93 5D 135 &#93; ] 94 5E 136 &#94; * 95 5F 137 &#95;
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 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
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