Skip to main content

Questions tagged [stream-cipher]

A stream cipher is an encryption algorithm which encrypts arbitrary length plaintext, using a key. Some stream ciphers generate a keystream from only the key, which is then XOR-combined with the plain text, others feed back plaintext or ciphertext into the algorithm to create the keystream.

1 vote
1 answer
67 views

My understanding is that we can formally prove that PRGs can generate a polynomial length pseudorandom expansion of the seed. But don't the LFSRs with non linear feedback like Trivium claim to ...
Zoey's user avatar
  • 273
2 votes
0 answers
90 views

This should give a period guarantee, which from what i have hear is good with NLFSRs right? It should also have diffusion and if we find a way to mix the key into it we would have confusion too.
malediscord kitten's user avatar
3 votes
2 answers
675 views

Can an adversary invert some rounds of ChaCha20 (or ChaCha12) to obtain the internal state of a specific round? I mean, if an adversary can invert 12 rounds of ChaCha20 to obtain the internal state of ...
przemyslawo's user avatar
1 vote
1 answer
78 views

Below is an implementation of a stream cipher algorithm, but it does not increment the counter. Instead, it directly encrypts the current key stream as the next key stream to encrypt the plaintext. I'...
S-N's user avatar
  • 169
3 votes
1 answer
393 views

Doesn't self-synchronization imply that some sort of protocol is in use: begin block, end block, checksum, etc.; incurring additional overhead in the resulting ciphertext compared to a synchronous ...
CBruce's user avatar
  • 239
3 votes
1 answer
203 views

I'm interested in understanding which ciphers and hash functions are the easiest to conceal or hide within a compiled binary (executable file). I'm not primarily concerned with the strength of the ...
Klansy Msniv's user avatar
1 vote
2 answers
263 views

I'm asking this because when I asked the Mistral language model to provide source code for a PRNG based on stream/block ciphers, it provided an option to use a key and a IV in the code.
user avatar
1 vote
1 answer
200 views

So I learned that stream and block ciphers (in counter mode) can be used as PRNGs as well. How they differ from PRNGs like Xorshift, Mersenne Twister, Park-Miller etc. ?
user avatar

15 30 50 per page
1
2 3 4 5
39