⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

B

A

S

E

B

A

L

L

Input key: BASEBALL

ESI = pointer to input key

EDI = current file data pointer (used also as destination)

Encrypted file: 0xDEADBEEFBAADF00D

DE

AD

BE

EF

BA

AD

F0

0D

BL =

ECX = 0 initially (server as a pointer)

0x42

B

AL =

0xDE

AL =

0x42

0xDE

xor

=

0x9F

AL =

0x9F

<<

0x0

=

0x9F

AL =

0x9F

0x0

=

0x9F

EDI[ECX] =

0x9F

BL =

0x41

A

AL =

0xAD

AL =

0x41

0xAD

xor

=

0xEC

AL =

0xEC

<<

0x1

=

0xD8

AL =

0xD8

0x1

=

0xD7

EDI[ECX] =

0xD7

ECX = 0

1st iteration

ECX = 1

2nd iteration

EDI[ECX]

ESI[ECX]

ECX++

ECX++

etc…