MAC Part 1

Encryption 101 Message Authentication Code
2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€59.75
List Price:  €85.36
You save:  €25.61
£51.47
List Price:  £73.53
You save:  £22.06
CA$95.77
List Price:  CA$136.83
You save:  CA$41.05
A$107.13
List Price:  A$153.05
You save:  A$45.92
S$89.63
List Price:  S$128.05
You save:  S$38.42
HK$549.41
List Price:  HK$784.91
You save:  HK$235.49
CHF 55.70
List Price:  CHF 79.57
You save:  CHF 23.87
NOK kr706.27
List Price:  NOK kr1,009
You save:  NOK kr302.73
DKK kr445.79
List Price:  DKK kr636.88
You save:  DKK kr191.08
NZ$116.64
List Price:  NZ$166.63
You save:  NZ$49.99
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,533.55
List Price:  ৳12,191.31
You save:  ৳3,657.75
₹5,997.11
List Price:  ₹8,567.67
You save:  ₹2,570.55
RM297.49
List Price:  RM425
You save:  RM127.51
₦107,235.87
List Price:  ₦153,200.67
You save:  ₦45,964.80
₨19,911.98
List Price:  ₨28,446.91
You save:  ₨8,534.92
฿2,287.38
List Price:  ฿3,267.82
You save:  ฿980.44
₺2,803.04
List Price:  ₺4,004.51
You save:  ₺1,201.47
B$381.73
List Price:  B$545.35
You save:  B$163.62
R1,248.17
List Price:  R1,783.17
You save:  R535
Лв116.83
List Price:  Лв166.90
You save:  Лв50.07
₩96,336.76
List Price:  ₩137,629.84
You save:  ₩41,293.08
₪234.45
List Price:  ₪334.94
You save:  ₪100.49
₱3,958.31
List Price:  ₱5,654.98
You save:  ₱1,696.66
¥10,262.48
List Price:  ¥14,661.31
You save:  ¥4,398.83
MX$1,301.37
List Price:  MX$1,859.19
You save:  MX$557.81
QR254.84
List Price:  QR364.08
You save:  QR109.23
P935.08
List Price:  P1,335.89
You save:  P400.80
KSh9,049.70
List Price:  KSh12,928.70
You save:  KSh3,879
E£3,473.98
List Price:  E£4,963.05
You save:  E£1,489.06
ብር9,720.28
List Price:  ብር13,886.72
You save:  ብር4,166.43
Kz63,827.73
List Price:  Kz91,186.38
You save:  Kz27,358.65
CLP$65,976.07
List Price:  CLP$94,255.57
You save:  CLP$28,279.50
CN¥502.54
List Price:  CN¥717.94
You save:  CN¥215.40
RD$4,202.43
List Price:  RD$6,003.74
You save:  RD$1,801.30
DA9,077.93
List Price:  DA12,969.03
You save:  DA3,891.10
FJ$157.28
List Price:  FJ$224.70
You save:  FJ$67.41
Q537.61
List Price:  Q768.04
You save:  Q230.43
GY$14,634.68
List Price:  GY$20,907.59
You save:  GY$6,272.90
ISK kr8,568.87
List Price:  ISK kr12,241.77
You save:  ISK kr3,672.90
DH630.07
List Price:  DH900.14
You save:  DH270.07
L1,186.27
List Price:  L1,694.75
You save:  L508.47
ден3,676.04
List Price:  ден5,251.71
You save:  ден1,575.67
MOP$566.32
List Price:  MOP$809.06
You save:  MOP$242.74
N$1,245.68
List Price:  N$1,779.63
You save:  N$533.94
C$2,577.48
List Price:  C$3,682.27
You save:  C$1,104.79
रु9,598.18
List Price:  रु13,712.28
You save:  रु4,114.09
S/249.39
List Price:  S/356.29
You save:  S/106.90
K293.69
List Price:  K419.58
You save:  K125.88
SAR262.50
List Price:  SAR375.01
You save:  SAR112.51
ZK1,696.68
List Price:  ZK2,423.93
You save:  ZK727.25
L303.27
List Price:  L433.26
You save:  L129.99
Kč1,472.02
List Price:  Kč2,102.98
You save:  Kč630.96
Ft23,926.48
List Price:  Ft34,182.16
You save:  Ft10,255.67
SEK kr665.97
List Price:  SEK kr951.43
You save:  SEK kr285.45
ARS$87,801.33
List Price:  ARS$125,435.85
You save:  ARS$37,634.51
Bs483.32
List Price:  Bs690.49
You save:  Bs207.16
COP$283,972.32
List Price:  COP$405,692.13
You save:  COP$121,719.81
₡35,361.05
List Price:  ₡50,517.95
You save:  ₡15,156.90
L1,831.46
List Price:  L2,616.49
You save:  L785.02
₲558,196.11
List Price:  ₲797,457.20
You save:  ₲239,261.08
$U2,808.53
List Price:  $U4,012.36
You save:  $U1,203.82
zł253.41
List Price:  zł362.04
You save:  zł108.62
Already have an account? Log In

Transcript

Imagine a scenario where user a sends a message to user B, he doesn't mind that someone in the middle will look at the message. As long as it doesn't tamper with the message, it doesn't change it. So, what one can do is after the message is ready to be sent, calculate a hash of the message and concatenate the mask the hash to the message itself. The other side will get the message, calculate the hash. See that both hashes matches and everything seems to be alright. Now what if in amend the middle looks at the message and changes the message Which makes another hash out of the new change message and send it along.

How can we prove that we got our message from the one that we thought sent us the message? How can we be sure that no one tampered with the message and made a secondary hash? What we can do authentication and integrity checking using Mac using Message Authentication codes, which are actually a cryptographic checksums that are done to the message using a key very similar to the symmetric key encryption concept. What are Mac's and what is the difference between them and the classic symmetric encryption more in depth on the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.