Electronic code book

Encryption 101 Block cipher mode of operation
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.34
List Price:  €84.78
You save:  €25.43
£51.82
List Price:  £74.03
You save:  £22.21
CA$95.92
List Price:  CA$137.03
You save:  CA$41.11
A$104.57
List Price:  A$149.39
You save:  A$44.82
S$89.93
List Price:  S$128.48
You save:  S$38.54
HK$544.35
List Price:  HK$777.68
You save:  HK$233.32
CHF 55.17
List Price:  CHF 78.82
You save:  CHF 23.65
NOK kr705.23
List Price:  NOK kr1,007.52
You save:  NOK kr302.28
DKK kr443.34
List Price:  DKK kr633.37
You save:  DKK kr190.03
NZ$119.88
List Price:  NZ$171.26
You save:  NZ$51.38
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,550.70
List Price:  ৳12,215.82
You save:  ৳3,665.11
₹6,270.63
List Price:  ₹8,958.43
You save:  ₹2,687.79
RM284.36
List Price:  RM406.25
You save:  RM121.89
₦101,753.56
List Price:  ₦145,368.46
You save:  ₦43,614.90
₨19,536.01
List Price:  ₨27,909.78
You save:  ₨8,373.77
฿2,178.06
List Price:  ฿3,111.65
You save:  ฿933.59
₺2,997.55
List Price:  ₺4,282.40
You save:  ₺1,284.84
B$392.01
List Price:  B$560.03
You save:  B$168.02
R1,166.50
List Price:  R1,666.50
You save:  R500
Лв116.14
List Price:  Лв165.92
You save:  Лв49.78
₩103,685.19
List Price:  ₩148,128.05
You save:  ₩44,442.85
₪223.58
List Price:  ₪319.42
You save:  ₪95.83
₱4,116.53
List Price:  ₱5,881.01
You save:  ₱1,764.48
¥10,916.22
List Price:  ¥15,595.27
You save:  ¥4,679.04
MX$1,255.86
List Price:  MX$1,794.16
You save:  MX$538.30
QR254.94
List Price:  QR364.22
You save:  QR109.27
P919.84
List Price:  P1,314.12
You save:  P394.27
KSh9,021.71
List Price:  KSh12,888.71
You save:  KSh3,867
E£3,324.52
List Price:  E£4,749.52
You save:  E£1,425
ብር10,872.94
List Price:  ብር15,533.44
You save:  ብር4,660.50
Kz63,850.92
List Price:  Kz91,219.51
You save:  Kz27,368.59
CLP$63,627.27
List Price:  CLP$90,899.99
You save:  CLP$27,272.72
CN¥491.89
List Price:  CN¥702.73
You save:  CN¥210.84
RD$4,365.08
List Price:  RD$6,236.10
You save:  RD$1,871.01
DA9,073.05
List Price:  DA12,962.06
You save:  DA3,889
FJ$159.39
List Price:  FJ$227.72
You save:  FJ$68.32
Q536.16
List Price:  Q765.98
You save:  Q229.81
GY$14,639.32
List Price:  GY$20,914.21
You save:  GY$6,274.89
ISK kr8,771.84
List Price:  ISK kr12,531.74
You save:  ISK kr3,759.90
DH638.51
List Price:  DH912.19
You save:  DH273.68
L1,180.87
List Price:  L1,687.03
You save:  L506.16
ден3,654.73
List Price:  ден5,221.26
You save:  ден1,566.53
MOP$560.72
List Price:  MOP$801.07
You save:  MOP$240.34
N$1,165.02
List Price:  N$1,664.38
You save:  N$499.36
C$2,566.85
List Price:  C$3,667.09
You save:  C$1,100.23
रु10,005.23
List Price:  रु14,293.80
You save:  रु4,288.57
S/234.88
List Price:  S/335.56
You save:  S/100.67
K297.70
List Price:  K425.31
You save:  K127.60
SAR262.52
List Price:  SAR375.05
You save:  SAR112.52
ZK1,581.36
List Price:  ZK2,259.18
You save:  ZK677.82
L301.95
List Price:  L431.37
You save:  L129.42
Kč1,444.71
List Price:  Kč2,063.95
You save:  Kč619.24
Ft23,214.43
List Price:  Ft33,164.90
You save:  Ft9,950.46
SEK kr642.92
List Price:  SEK kr918.50
You save:  SEK kr275.57
ARS$101,607.91
List Price:  ARS$145,160.38
You save:  ARS$43,552.47
Bs482.99
List Price:  Bs690.01
You save:  Bs207.02
COP$264,996.36
List Price:  COP$378,582.46
You save:  COP$113,586.09
₡34,880.82
List Price:  ₡49,831.88
You save:  ₡14,951.06
L1,838.53
List Price:  L2,626.58
You save:  L788.05
₲471,217.21
List Price:  ₲673,196.30
You save:  ₲201,979.09
$U2,733.37
List Price:  $U3,904.98
You save:  $U1,171.61
zł250.92
List Price:  zł358.48
You save:  zł107.55
Already have an account? Log In

Transcript

Ciphers work on a fixed size length. So when we use depth, we encrypt blocks of 64 bits, when we use as we encrypt blocks have 128 bits. But as we all know, it is hardly that we have files in that size. We have fines waiting in megabytes and gigabytes. So what do we do? Do we break the file apart into blocks and encrypt each one.

At the end, we joined the parts together, that is the block cipher mode of operation. And there are several of them. Some are hardly used, and others are used everywhere. And if the last block of our file is less than 64 bits, or 128 bits, assuming we're using depth or a yes, we fill out the remainder with what is called a padding. This could be a predefined value as all ones or all zeros. The first block cipher mode of operation is ECB, electronic codebook.

In ECB, which is rarely used, we encrypt our file, block after block, each according to its algorithm. And in the end, we join them together. It is the easiest block cipher mode of operation, but it is also the less secure of all Why? Well, because there is a direct linkage between the cipher text and the plain text Over time, crypto analyst could find patterns that are occurring. Remember, the same key is used to encrypt the different blocks. And if we wish to decrypt the cipher file, we split it into 64 bits and use the same key to decrypted.

Repetitions of the same block cipher can happen through our the cipher text.

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.