Reused keystream makes the ciphertext XOR match the plaintext XOR.

highlighted = computed this step

XOR the two ciphertexts

Ciphertext A XOR ciphertext B gives 0x000000000800.

cipher XOR=0x000000000800\text{cipher XOR}=0x000000000800
Ciphertexts XORThe ciphertext XOR and plaintext XOR are recomputed from pinned bytes.Ciphertext A48 bits / 6 bytes0x7f7f54017a6abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111101001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x7abyte-50x6aCiphertext B48 bits / 6 bytes0x7f7f5401726abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111001001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x72byte-50x6aCiphertext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00Plaintext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00

The same value appears in plaintexts

Plaintext A XOR plaintext B gives the same bytes 0x000000000800.

plain XOR=0x000000000800\text{plain XOR}=0x000000000800
Ciphertexts XORThe ciphertext XOR and plaintext XOR are recomputed from pinned bytes.Ciphertext A48 bits / 6 bytes0x7f7f54017a6abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111101001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x7abyte-50x6aCiphertext B48 bits / 6 bytes0x7f7f5401726abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111001001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x72byte-50x6aCiphertext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00Plaintext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00

The keystream cancels

Because the toy keystream was reused, XORing the ciphertexts cancels that same keystream.

reused keystream=1\text{reused keystream}=1
Ciphertexts XORThe ciphertext XOR and plaintext XOR are recomputed from pinned bytes.Ciphertext A48 bits / 6 bytes0x7f7f54017a6abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111101001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x7abyte-50x6aCiphertext B48 bits / 6 bytes0x7f7f5401726abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111001001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x72byte-50x6aCiphertext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00Plaintext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00

Summary

The ciphertext pair leaks the XOR difference between the plaintext pair.

changed bytes=1\text{changed bytes}=1
Ciphertexts XORThe ciphertext XOR and plaintext XOR are recomputed from pinned bytes.Ciphertext A48 bits / 6 bytes0x7f7f54017a6abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111101001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x7abyte-50x6aCiphertext B48 bits / 6 bytes0x7f7f5401726abyte 0byte 1byte 2byte 301111111011111110101010000000001byte 4byte 50111001001101010byte-00x7fbyte-10x7fbyte-20x54byte-30x01byte-40x72byte-50x6aCiphertext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00Plaintext XOR48 bits / 6 bytes0x000000000800byte 0byte 1byte 2byte 300000000000000000000000000000000byte 4byte 50000100000000000byte-00x00byte-10x00byte-20x00byte-30x00byte-40x08byte-50x00