Input (grade 12): In the most common form, binary digits are used (bits), and the keystream is combined with the plaintext using the exclusive or operation (XOR).
Output (grade 12): In the most common form, binary digits (bits) are used, and the keystream is combined with the plaintext using the exclusive or operation (XOR).