Open
Conversation
Up to line 321
dg-latacora
reviewed
Oct 14, 2020
| XOR, as we've just defined it, operates only on single bits or Boolean | ||
| values. Since we usually deal with values comprised of many bits, most | ||
| programming languages provide a “bitwise XOR” operator: an operator that | ||
| XOR, as defined, only operates on single bits or Boolean |
Contributor
There was a problem hiding this comment.
"as defined" is a little tricky. XOR is a binary operation so doesn't have to be single bits or Boolean values.
dg-latacora
reviewed
Oct 14, 2020
| more) recipients. We can compute the ciphertext by taking the bitwise | ||
| XOR of the two sequences of bits. | ||
| Suppose we translate our plaintext into a sequence of bits. We | ||
| have the pad of random bits that are shared between the sender and the recipients (one or |
Contributor
There was a problem hiding this comment.
"translate our plaintext into a sequence of bits" doesn't give the pad to the sender and the recipient.
also that needs to be assumed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Up to line 321