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

|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span style="display: inline-block;">
|

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

|

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

|

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

|

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

|

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

|

|
||||||
|
|
||||||
|
|
||||||
What about input longer a single block?
|
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.
|
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