A stream cipher is a XOR operation that encrypts and decrypts one bit or one byte at a time.