A cipher is a method of hiding words or text with encryption by replacing original
letters with other letters, numbers and symbols through either substitution or
transposition.
Stream cipher:
A stream cipher is a symmetric key cipher where plaintext digits are combined with a
pseudorandom cipher digit stream.
It uses a different key for each byte.
Stream ciphers do not provide integrity protection or authentication.
It uses XOR function for converting the plain text into cipher text that is the reason
why it is easy to reverse the XORed bits.
They are more difficult to implement correctly, and are prone to weaknesses based