Assuming that $K_{n}$, $P_{n}$, and $C_{n}$ are individual bytes of the key, plaintext, and ciphertext respectively.
The first byte of ciphertext is computed like this:
$C_{1} = K_{1} \oplus P_{1}$
And the rest of the bytes are computed like this:
$C_{i} = K_{i} \oplus P_{i} \oplus P_{i-1}$
Is this a good way of encrypting data, or is there some loophole that I've overlooked?