About this interactive
Symmetric ciphers, where the same key encrypts and decrypts, do the bulk of the encrypting in the world, and they come in two kinds. The difference is simply how many bits the cipher processes at a time.
A block cipher works through the data in fixed-size chunks. DES uses 64-bit blocks, which set a precedent many ciphers follow, and AES uses 128-bit blocks. If the last piece of data does not fill a block, the cipher has to add padding before it can encrypt it. Block ciphers are the more common kind and are generally easier to implement. DES, Triple DES, AES (the Rijndael cipher), RC5, Blowfish and Twofish are all block ciphers.
A stream cipher encrypts a single digit at a time, usually one bit, sometimes one byte, as the data flows in or out. Because it only ever holds a tiny piece, it uses less memory and is more efficient. RC4 is the stream cipher to remember, and it is easy to mix up with RC5, which is a block cipher.
One trap: do not sort by use case alone. A stream cipher suits streaming data, but a 64-bit block is small, so block ciphers are used for streams too. Ask how much data is processed at once.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →