Original: Usually each character in the keystream is either added , subtracted or XORed with a character in the plaintext to produce the ciphertext , using modular arithmetic .
Simplified: As we have only 26 characters the random numbers in the keystream have to be at least between 0 and 25 .