Code block chaining

Encryption 101 Block cipher mode of operation
1 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
€61.38
List Price:  €87.70
You save:  €26.31
£52.57
List Price:  £75.10
You save:  £22.53
CA$97.17
List Price:  CA$138.82
You save:  CA$41.65
A$109.20
List Price:  A$156.01
You save:  A$46.80
S$91.97
List Price:  S$131.39
You save:  S$39.42
HK$543.03
List Price:  HK$775.79
You save:  HK$232.76
CHF 57.96
List Price:  CHF 82.80
You save:  CHF 24.84
NOK kr730.51
List Price:  NOK kr1,043.63
You save:  NOK kr313.12
DKK kr459.77
List Price:  DKK kr656.84
You save:  DKK kr197.07
NZ$117.31
List Price:  NZ$167.59
You save:  NZ$50.28
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,503.45
List Price:  ৳12,148.30
You save:  ৳3,644.85
₹5,976.07
List Price:  ₹8,537.62
You save:  ₹2,561.54
RM306.13
List Price:  RM437.35
You save:  RM131.22
₦112,599.91
List Price:  ₦160,863.91
You save:  ₦48,264
₨19,663.69
List Price:  ₨28,092.19
You save:  ₨8,428.50
฿2,345.36
List Price:  ฿3,350.66
You save:  ฿1,005.29
₺2,689.14
List Price:  ₺3,841.79
You save:  ₺1,152.65
B$398.27
List Price:  B$568.98
You save:  B$170.71
R1,308
List Price:  R1,868.66
You save:  R560.65
Лв120.40
List Price:  Лв172.01
You save:  Лв51.60
₩100,671.04
List Price:  ₩143,821.94
You save:  ₩43,150.89
₪253.64
List Price:  ₪362.36
You save:  ₪108.72
₱3,936.58
List Price:  ₱5,623.93
You save:  ₱1,687.34
¥10,055.81
List Price:  ¥14,366.05
You save:  ¥4,310.24
MX$1,365.07
List Price:  MX$1,950.18
You save:  MX$585.11
QR254.83
List Price:  QR364.06
You save:  QR109.23
P964.70
List Price:  P1,378.20
You save:  P413.50
KSh9,028.71
List Price:  KSh12,898.71
You save:  KSh3,870
E£3,552.80
List Price:  E£5,075.64
You save:  E£1,522.84
ብር9,184.43
List Price:  ብር13,121.18
You save:  ብር3,936.75
Kz64,215.82
List Price:  Kz91,740.82
You save:  Kz27,525
CLP$65,437.15
List Price:  CLP$93,485.65
You save:  CLP$28,048.50
CN¥510.06
List Price:  CN¥728.69
You save:  CN¥218.63
RD$4,136.40
List Price:  RD$5,909.40
You save:  RD$1,773
DA9,266.04
List Price:  DA13,237.77
You save:  DA3,971.73
FJ$158.03
List Price:  FJ$225.77
You save:  FJ$67.73
Q539.02
List Price:  Q770.06
You save:  Q231.04
GY$14,642.35
List Price:  GY$20,918.55
You save:  GY$6,276.19
ISK kr8,948.22
List Price:  ISK kr12,783.72
You save:  ISK kr3,835.50
DH649.19
List Price:  DH927.46
You save:  DH278.26
L1,207.96
List Price:  L1,725.73
You save:  L517.77
ден3,786.72
List Price:  ден5,409.84
You save:  ден1,623.11
MOP$559.17
List Price:  MOP$798.85
You save:  MOP$239.68
N$1,320.78
List Price:  N$1,886.91
You save:  N$566.13
C$2,575.54
List Price:  C$3,679.51
You save:  C$1,103.96
रु9,558.81
List Price:  रु13,656.03
You save:  रु4,097.22
S/257.84
List Price:  S/368.36
You save:  S/110.52
K283.66
List Price:  K405.25
You save:  K121.59
SAR262.52
List Price:  SAR375.05
You save:  SAR112.52
ZK1,954.37
List Price:  ZK2,792.07
You save:  ZK837.70
L306.73
List Price:  L438.21
You save:  L131.47
Kč1,538.24
List Price:  Kč2,197.59
You save:  Kč659.34
Ft24,982.93
List Price:  Ft35,691.43
You save:  Ft10,708.50
SEK kr677.79
List Price:  SEK kr968.31
You save:  SEK kr290.52
ARS$81,446.30
List Price:  ARS$116,356.84
You save:  ARS$34,910.54
Bs483.61
List Price:  Bs690.91
You save:  Bs207.29
COP$297,798.26
List Price:  COP$425,444.32
You save:  COP$127,646.06
₡35,425.31
List Price:  ₡50,609.75
You save:  ₡15,184.44
L1,805.74
List Price:  L2,579.74
You save:  L774
₲559,817.34
List Price:  ₲799,773.34
You save:  ₲239,955.99
$U2,929.48
List Price:  $U4,185.15
You save:  $U1,255.67
zł263.10
List Price:  zł375.88
You save:  zł112.77
Already have an account? Log In

Transcript

The next mode of operation, which is probably one of the most used is CBC, cipher Block Chaining. And in this mode, we are adding complexity. We are splitting our plain file or text into chunks with the same size blocks as before. But then we choose an IV initialization vector, which is a random value that we use. And now we do the following. We take our plaintext and we saw it remember, we saw it with our IV, we add up the ones and the zero together.

And then we encrypted using the same key and the algorithm and we get our first block cipher. For the next plain text, we do the same. We take the cipher text from the previous. And again we saw it with the plain text ending cryptic using the same algorithm and the same key

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.