From the course: Learning Cryptography and Network Security
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Compare block and stream ciphers
From the course: Learning Cryptography and Network Security
Compare block and stream ciphers
- [Instructor] Symmetric encryption algorithms are one of two types, either a block cipher, such as DES or AES or a stream cipher such as RC4 or SEAL. Let's compare the differences between a block and a stream cipher. A block cipher processes plain text in fixed size blocks that are either 64 or 128 bits. They then produce a block of cipher text of equal size. In some cases, padding might be required to create a complete block. For example, if the block is 126 bits, you'll need to add two bits to create a 128 bit block A block cipher can only encrypt a single block of data at a time. If you need to encrypt a variable length message the data must first be split into separate blocks. However, a better option is to use a stream cipher. If we add memory to a block cipher this results in a stream cipher. In most cases we're going to use a stream cipher because many times we're transmitting a large amount of data or the size…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Introducing symmetric encryption4m 25s
-
(Locked)
Developing DES5m 18s
-
(Locked)
Work with AES5m 31s
-
(Locked)
Compare block and stream ciphers3m 30s
-
(Locked)
Understand modes of operation2m 20s
-
(Locked)
Secure wireless communication3m 7s
-
(Locked)
Challenge: Encrypt data with AES1m 5s
-
(Locked)
Solution: Encrypt data with AES1m 17s
-
(Locked)
-
-
-
-
-