WEBVTT

1
00:00:00.120 --> 00:00:01.650
In this lesson,

2
00:00:01.650 --> 00:00:05.130
we will learn about symmetric cryptography.

3
00:00:05.130 --> 00:00:09.090
Symmetric cryptography is a type of encryption

4
00:00:09.090 --> 00:00:12.870
where the same key is used for both encrypting

5
00:00:12.870 --> 00:00:14.880
and decrypting data.

6
00:00:14.880 --> 00:00:18.900
Symmetric cryptography concepts include techniques

7
00:00:18.900 --> 00:00:23.250
such as one-time pad and Lightweight Cryptography.

8
00:00:23.250 --> 00:00:26.070
Symmetric cryptography is widely used

9
00:00:26.070 --> 00:00:31.070
for its efficiency in securing data quickly and in bulk.

10
00:00:31.230 --> 00:00:33.840
Usually, it uses algorithms

11
00:00:33.840 --> 00:00:38.160
such as the Advanced Encryption Standard (AES).

12
00:00:38.160 --> 00:00:41.430
Techniques, such as the One-time Pad,

13
00:00:41.430 --> 00:00:45.750
may offer theoretically unbreakable encryption.

14
00:00:45.750 --> 00:00:49.470
Lightweight Cryptography, on the other hand, is designed

15
00:00:49.470 --> 00:00:52.020
for environments with limited power

16
00:00:52.020 --> 00:00:56.280
and cryptographic processing resources, such as IoT

17
00:00:56.280 --> 00:00:58.980
or Internet of Things devices.

18
00:00:58.980 --> 00:01:03.660
Let's learn more about Symmetric Cryptography, Pne-time Pad,

19
00:01:03.660 --> 00:01:06.150
and Lightweight Cryptography.

20
00:01:06.150 --> 00:01:09.810
First, we have Symmetric Cryptography.

21
00:01:09.810 --> 00:01:12.750
Symmetric cryptography is an encryption method

22
00:01:12.750 --> 00:01:16.320
that uses the same key for both encrypting

23
00:01:16.320 --> 00:01:18.660
and decrypting data.

24
00:01:18.660 --> 00:01:23.490
The core advantage of symmetric cryptography is its ability

25
00:01:23.490 --> 00:01:27.660
to handle bulk encryption efficiently, making it suitable

26
00:01:27.660 --> 00:01:32.430
for secure file storage and network communications.

27
00:01:32.430 --> 00:01:35.476
Common symmetric algorithms include

28
00:01:35.476 --> 00:01:40.476
AES, DES, 3DES, Blowfish, Twofish, RC4, and ChaCha20.

29
00:01:45.120 --> 00:01:48.540
The Advanced Encryption Standard, or AES,

30
00:01:48.540 --> 00:01:53.130
is popular for its strong security and fast processing.

31
00:01:53.130 --> 00:01:56.850
Also, it can function as both a block cipher

32
00:01:56.850 --> 00:01:58.980
and a stream cipher.

33
00:01:58.980 --> 00:02:01.413
The Data Encryption Standard, or DES,

34
00:02:02.250 --> 00:02:06.750
is an older encryption algorithm with a 56-bit key.

35
00:02:06.750 --> 00:02:11.750
DES is now considered insecure due to its vulnerability

36
00:02:12.000 --> 00:02:13.950
to brute force attacks.

37
00:02:13.950 --> 00:02:18.950
DES's enhanced version, Triple DES, or 3DES,

38
00:02:19.710 --> 00:02:23.070
applies the DES encryption algorithms

39
00:02:23.070 --> 00:02:26.460
three times to provide added security,

40
00:02:26.460 --> 00:02:28.980
but it's a little bit slower.

41
00:02:28.980 --> 00:02:32.640
Next, Blowfish is known for its speed

42
00:02:32.640 --> 00:02:36.090
and adaptability with variable key lengths,

43
00:02:36.090 --> 00:02:38.910
but Blowfish has been largely replaced

44
00:02:38.910 --> 00:02:43.860
by its successor, Twofish, which offers enhanced security

45
00:02:43.860 --> 00:02:48.860
and performance with up to 256-bit key lengths.

46
00:02:49.140 --> 00:02:54.140
Finally, Rivest Cipher 4, or RC4, is a fast stream cipher,

47
00:02:56.250 --> 00:03:00.270
but it's now outdated due to security flaws,

48
00:03:00.270 --> 00:03:03.570
with ChaCha20 providing a secure

49
00:03:03.570 --> 00:03:07.217
and efficient alternative to RC4.

50
00:03:07.217 --> 00:03:11.340
ChaCha20 is widely used in internet protocols

51
00:03:11.340 --> 00:03:14.490
for its robust encryption strength.

52
00:03:14.490 --> 00:03:17.550
Second, we have One-time Pad.

53
00:03:17.550 --> 00:03:21.600
The One-time Pad is considered one of the strongest forms

54
00:03:21.600 --> 00:03:25.050
of symmetric encryption because it can provide

55
00:03:25.050 --> 00:03:28.800
perfect forward secrecy when used correctly.

56
00:03:28.800 --> 00:03:31.980
The core idea behind the one-time pad

57
00:03:31.980 --> 00:03:35.160
is to use a completely random key

58
00:03:35.160 --> 00:03:37.110
that is the exact same length

59
00:03:37.110 --> 00:03:39.600
as the message being encrypted.

60
00:03:39.600 --> 00:03:42.210
Each bit of the message is combined

61
00:03:42.210 --> 00:03:44.850
with the corresponding bit of the key,

62
00:03:44.850 --> 00:03:49.850
using a simple operation, like Exclusive-OR, or XOR,

63
00:03:50.100 --> 00:03:54.180
which results in a completely random cipher text.

64
00:03:54.180 --> 00:03:57.300
Because the key is as long as the message

65
00:03:57.300 --> 00:04:00.720
and is truly random, there are no patterns

66
00:04:00.720 --> 00:04:02.250
that can be exploited,

67
00:04:02.250 --> 00:04:06.870
making the encrypted message theoretically unbreakable.

68
00:04:06.870 --> 00:04:09.750
The key to one-time pad security

69
00:04:09.750 --> 00:04:14.040
is that the random key must never be reused.

70
00:04:14.040 --> 00:04:17.010
If the same key is used more than once,

71
00:04:17.010 --> 00:04:19.860
patterns could emerge that would allow someone

72
00:04:19.860 --> 00:04:21.990
to decrypt the message.

73
00:04:21.990 --> 00:04:26.940
Additionally, the randomness of the key must be perfect.

74
00:04:26.940 --> 00:04:30.600
Any predictable or repeated patterns in the key

75
00:04:30.600 --> 00:04:32.670
would weaken the encryption.

76
00:04:32.670 --> 00:04:36.330
So the major challenge with one-time pads

77
00:04:36.330 --> 00:04:40.230
is then securely sharing the key between the sender

78
00:04:40.230 --> 00:04:44.940
and receiver, especially since the key must be as long

79
00:04:44.940 --> 00:04:48.540
as the message and only used once.

80
00:04:48.540 --> 00:04:51.300
This makes distributing keys securely

81
00:04:51.300 --> 00:04:56.010
and keeping them secret, a significant logistical problem.

82
00:04:56.010 --> 00:04:59.910
This requirement makes one-time pads impractical

83
00:04:59.910 --> 00:05:02.580
for everyday use, limiting them

84
00:05:02.580 --> 00:05:07.170
to extremely sensitive communications, such as diplomatic

85
00:05:07.170 --> 00:05:12.170
or military messages where maximum security is required.

86
00:05:12.300 --> 00:05:16.920
Third and last, we have Lightweight Cryptography.

87
00:05:16.920 --> 00:05:20.130
Lightweight Cryptography is specifically designed

88
00:05:20.130 --> 00:05:24.300
for environments with limited computational resources,

89
00:05:24.300 --> 00:05:29.300
such as Internet of Things or IOT devices, smart sensors,

90
00:05:29.790 --> 00:05:32.070
and embedded systems.

91
00:05:32.070 --> 00:05:36.990
Unlike traditional cryptographic algorithms like AES,

92
00:05:36.990 --> 00:05:39.030
which are highly secure,

93
00:05:39.030 --> 00:05:41.760
but can be computationally intensive,

94
00:05:41.760 --> 00:05:46.380
Lightweight Cryptography is optimized to provide security

95
00:05:46.380 --> 00:05:48.990
with minimal resource consumption.

96
00:05:48.990 --> 00:05:51.360
This is achieved by using simpler

97
00:05:51.360 --> 00:05:55.890
and smaller operations, reducing the algorithm's complexity,

98
00:05:55.890 --> 00:06:00.030
while still maintaining an adequate level of security.

99
00:06:00.030 --> 00:06:04.920
So, Lightweight Cryptography typically uses smaller keys,

100
00:06:04.920 --> 00:06:07.470
reduced rounds of encryption,

101
00:06:07.470 --> 00:06:10.260
and simpler mathematical operations

102
00:06:10.260 --> 00:06:13.290
to keep computational demands low.

103
00:06:13.290 --> 00:06:17.640
For instance, instead of the complex substitution

104
00:06:17.640 --> 00:06:21.660
and permutation operations used in AES,

105
00:06:21.660 --> 00:06:24.690
lightweight cryptographic algorithms might use

106
00:06:24.690 --> 00:06:28.410
a basic bit manipulation techniques that require

107
00:06:28.410 --> 00:06:31.470
less processing power and memory.

108
00:06:31.470 --> 00:06:34.680
Additionally, these algorithms often have

109
00:06:34.680 --> 00:06:38.670
shorter block sizes, which means they handle smaller chunks

110
00:06:38.670 --> 00:06:42.540
of data at a time, further reducing the strain

111
00:06:42.540 --> 00:06:44.880
on the device's processor.

112
00:06:44.880 --> 00:06:48.030
While Lightweight Cryptography may not provide

113
00:06:48.030 --> 00:06:52.290
the same level of security as more robust algorithms,

114
00:06:52.290 --> 00:06:56.310
it offers a practical solution that protects data,

115
00:06:56.310 --> 00:06:58.920
while allowing low-power devices

116
00:06:58.920 --> 00:07:02.280
to operate effectively and securely.

117
00:07:02.280 --> 00:07:07.280
So remember, symmetric cryptography uses the same key

118
00:07:08.130 --> 00:07:12.930
for both encryption and decryption, making it efficient

119
00:07:12.930 --> 00:07:16.470
for securing data quickly and in bulk.

120
00:07:16.470 --> 00:07:19.290
Common symmetric algorithms include

121
00:07:19.290 --> 00:07:22.770
the Advanced Encryption Standard, or AES,

122
00:07:22.770 --> 00:07:27.770
the Data Encryption Standard, or DES, Triple DES, Blowfish,

123
00:07:29.220 --> 00:07:33.510
Twofish, Rivest Cipher 4, or RC4,

124
00:07:33.510 --> 00:07:37.440
and ChaCha20, each with varying levels

125
00:07:37.440 --> 00:07:40.080
of security and performance.

126
00:07:40.080 --> 00:07:42.300
Next, the one-time pad

127
00:07:42.300 --> 00:07:45.750
is a unique symmetric encryption method that uses

128
00:07:45.750 --> 00:07:49.800
a random key as long as the message itself,

129
00:07:49.800 --> 00:07:53.310
offering a theoretically unbreakable encryption,

130
00:07:53.310 --> 00:07:57.810
as long as the key is never reused and is truly random.

131
00:07:57.810 --> 00:08:00.840
However, the challenges of managing

132
00:08:00.840 --> 00:08:05.760
and securely sharing one-time pad keys make it impractical

133
00:08:05.760 --> 00:08:07.680
for everyday use.

134
00:08:07.680 --> 00:08:12.180
Last, Lightweight Cryptography is designed for devices

135
00:08:12.180 --> 00:08:16.710
with limited computational power, such as Internet of Things

136
00:08:16.710 --> 00:08:20.640
or IOT devices, balancing security

137
00:08:20.640 --> 00:08:23.220
with minimal resource consumption

138
00:08:23.220 --> 00:08:27.753
to protect data without overwhelming the device.

