Linked Questions

-2 votes
0 answers

Why is there a strong distinction between stream and block ciphers? [duplicate]

If I don't err, in the literature a stream cipher is one in which each plaintext bit is processed individually, commonly via xor-ing with one bit of a random or pseudo-random bit stream, while a block ...
Mok-Kong Shen's user avatar
18 votes
4 answers

Can you make a hash out of a stream cipher?

A comment on another question made me wonder about something: Assume you're on a rather constrained platform — say, a low-end embedded device — with no built-in crypto capabilities, but ...
Ilmari Karonen's user avatar
14 votes
3 answers

Converting a stream cipher into a block cipher

The well-known Counter-Mode (CTR) mode of operation for a block cipher essentially converts any block cipher into a stream cipher. Is there a way to do the reverse? In other words, given a "good" ...
Fixee's user avatar
  • 4,168
6 votes
2 answers

Is the CBC mode of operation a stream cipher mode?

I am taking a class on security systems. My professor considers CBC to be a stream cipher mode, like CFB and OFB. Most sources I have read do not agree with this, so I asked my professor about this, ...
user avatar
2 votes
3 answers

Terminology: Is a block cipher in counter mode still considered a block cipher or is it classified as a stream cipher?

I'm confused about what terminology to use. I see people referring to such a cipher-MOO combination using both terms.
Bastien's user avatar
  • 511
4 votes
1 answer

stream cipher and block one, which one is faster to encrypt/decrypt?

As the title says, I would like to know which one is faster. I read in some book it indicates the stream is faster since it encrypts one bit at a time; the others show block is faster since it is ...
JPL's user avatar
  • 41
7 votes
1 answer

Pseudo random generator vs block encryption, which is faster?

If one wishes to encrypt one can either use a pseudo random generator to generate a long sequence and then xor it with plaintext, similarly he can use the seed as key to encrypt the plaintext using ...
Baruntar's user avatar
  • 327
-2 votes
1 answer

How could I test my own Cipher? [closed]

I recently developed a new cryptographic algorithm. I just initiated with just nothing in mind. But being near to completion (though my algorithm is constantly developing. Now it is version 11.02), I ...
William's user avatar
3 votes
2 answers

Stream Ciphers -- Need clarification on their benefits in practice

Compared to a block cipher which encrypts 16 bytes at a time, stream ciphers can encrypt a byte at a time. I am curious about which applications would immensely benefit from the ability to encrypt a ...
Minaj's user avatar
  • 1,090
0 votes
1 answer

Stream Ciphers clarification

I am confused about stream ciphers a little so I just wanted to clarify. We have a key that's lets say 2 bits. I have a message that's 8 bits. I used a pseudorandom generator that would add 6 bits to ...
Abdulahad Ghuman's user avatar