Skip to content

Commit

Permalink
fix(crypto): more latex fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RedFlame2112 committed Sep 21, 2024
1 parent 6696b2c commit e83d933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fallctf-2024/src/crypto/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Nowadays, you can see why this is very insecure. There are only 26 possible shif
### XOR and One-Time-Pads
One of the most basic modern cryptographic tools is the Exclusive-Or operation, also called XOR. In math it gets denoted
by `x ⊕ y`, while in code we use `x ^ y`.
If $x$ and $y$ are 2 bits (0 or 1), `x ^ y` is defined to be one if and only if one of `x` or `y` is 1, but not both. Another way to think about it is that the XOR returns `1` if the bits are different:
If `x` and `y` are 2 bits (0 or 1), `x ^ y` is defined to be one if and only if one of `x` or `y` is 1, but not both. Another way to think about it is that the XOR returns `1` if the bits are different:

| x | y | x^y |
|---|---|-----|
Expand Down

0 comments on commit e83d933

Please sign in to comment.