Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
XOR cipher
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Notes === {{notelist|refs= {{efn|name=3ways|There are 3 ways of getting a (ciphertext) output bit of 0 from an [[Logical conjunction|AND]] operation:<br /> <nowiki>Plaintext=0, key=0;</nowiki><br /> <nowiki>Plaintext=0, key=1;</nowiki><br /> <nowiki>Plaintext=1, key=0.</nowiki><br /> Therefore, if we know that the ciphertext bit is a 0, there is a 2/3 chance that the plaintext bit was also a 0 for a truly random key. For XOR, there are exactly 2 ways, so the chance is 1/2 (i.e. equally likely, so we cannot learn anything from this information) }} {{efn|name=inspired|This was inspired by {{harvnb|Richter|2012}} }} }}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)