Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rc4 description of correlation between keystream and key #332

Open
trackpick opened this issue May 1, 2017 · 0 comments
Open

rc4 description of correlation between keystream and key #332

trackpick opened this issue May 1, 2017 · 0 comments

Comments

@trackpick
Copy link
Contributor

"For an ideal stream cipher, the first byte of the keystream should tell me nothing about the key. In RC4, it gives me some information about the first three bytes of the key. The latter seems less serious: after all, the attacker isn’t supposed to know the state of the cipher."

If the attacker knows the plaintext and the ciphertext, they could XOR them to produce the keystream, right? And therefore learn something about the key per the above (but without knowing anything about the internal state of the cipher)? If so, that seems exploitable and worth mentioning.

lvh added a commit that referenced this issue Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant