Block and Stream Ciphers
Block and Stream Ciphers are two categories of ciphers used in classical cryptography. Block and Stream Ciphers differ in how large a piece of the message is processed in each encryption operation.
Block Ciphers
Block ciphers encrypt plaintext in chunks. Common block sizes are 64 and 128 bits.
Stream Ciphers
Stream ciphers encrypt plaintext one byte or one bit at a time. A stream cipher can be thought of as a block cipher with a really small block size.
Block Ciphers vs. Stream Ciphers
Generally speaking, block ciphers are more efficient for computers and stream ciphers are easier for humans to do by hand.
Example Block Ciphers
DES is a block cipher with a 64 bit block size. AES is a block cipher with a 128 bit block size. RSA and Diffie-Hellman are block ciphers with variable block sizes.
Example Stream Ciphers
A5, the algorithm used to encrypt GSM communications, is a stream cipher. The RC4 cipher and the one-time pad are also stream ciphers.
Comments (1)
Leave a Reply
- Substitution and Transposition Ciphers
Substitution and transposition ciphers are two categories of ciphers used in classical cryptography. Substitution and transposition differ in how chunks of the message are handled by the encryption process. Substitution ciphers Substitution ciphers encrypt plaintext by changing the plaintext one piece at a time. The Caesar Cipher was an early substitution cipher. In the Caesar [...]...
- Symmetric and Asymmetric ciphers
In a symmetric cipher, both parties must use the same key for encryption and decryption. This means that the encryption key must be shared between the two parties before any messages can be decrypted. Symmetric systems are also known as shared secret systems or private key systems. Symmetric ciphers are significantly faster than asymmetric ciphers, [...]...
- One-Time Pad
A one-time pad is the only theoretically unbreakable cipher. A one-time pad is a private key, or symmetric, cipher where the key size is equal to the plaintext size. Because of this, the key is never reutilized. As the key is never reutilized, there is no basis for mathematical cryptanalysis. An example of a very [...]...
- Chosen Plaintext Attack
A chosen plaintext attack is an attack where the cryptanalyst is able to define his own plaintext, feed it into the cipher, and analyze the resulting ciphertext. Mounting a chosen plaintext attack requires the cryptanalyst to be able to send data of his choice into the device which is doing the encryption, and it requires [...]...
- RC4 (Rivest Cipher 4)
RC4 is a symmetric stream cipher with an arbitrary key size. RC4 was created by Ron Rivest of RSA Security in 1987. RC4 is used in many applications, including TLS (Transport Layer Security), WEP (Wired Equivalent Privacy), WPA (Wi-Fi Protected Access), TKIP (Temporal Key Integrity Protocol), Microsoft XBOX, Oracle SQL, Microsoft PPTP, Microsoft Office, and [...]...






excuse me…
i want to ask about softphone…
what kind of softphone that use stream cipher algorithm??