Stream cipher attacks
Stream ciphers, where plaintext bits are combined with a cipher bit stream by an exclusive-or operation (xor), can be secure if used properly. However, they are vulnerable to attacks if certain precautions are not followed: Keys must never be reused.