Put images in readme next to each other
This commit is contained in:
parent
1e479986fc
commit
17dece8daf
32
readme.md
32
readme.md
@ -128,41 +128,31 @@ The xor operation ensures that an observer will never know the internal state of
|
||||
future output.
|
||||
|
||||
### Speaking of... Visualizations!
|
||||
<div>
|
||||
<span style="display: inline-block;">
|
||||
`"Hello :3"` in binary:
|
||||
`"Hello :3"` in binary, and it's ciphertext:
|
||||
|
||||

|
||||
</span>
|
||||
|
||||
<span style="display: inline-block;">
|
||||
It's ciphertext:
|
||||
|
||||

|
||||
</span>
|
||||
</div>
|
||||
|
||||
Now, let's flip a single bit in the input:
|
||||
|
||||
One bit flipped:
|
||||
Now, let's flip a single bit in the input:
|
||||
|
||||
One bit flipped, and again the corresponding ciphertext:
|
||||

|
||||
|
||||
It's ciphertext:
|
||||
|
||||

|
||||
|
||||
Let's gif them together, to better see the difference...
|
||||
|
||||
Input:
|
||||
Let's gif them together, to better see the difference:
|
||||

|
||||
|
||||
Ciphertext:
|
||||
|
||||

|
||||
|
||||
|
||||
What about input longer a single block?
|
||||
|
||||
Input:
|
||||
Input, and ciphertext:
|
||||

|
||||
|
||||
Ciphertext:
|
||||
|
||||

|
||||
|
||||
Notice how the ciphertext doesn't change until the block containing the bitflip is reached. This is a limitation of cipher block chaining.
|
||||
|
Loading…
x
Reference in New Issue
Block a user