Data security became an important factor for communications. Cryptography plays an important role in the security of data. It enables the user to store sensitive information or transmit it across insecure networks so that unauthorized persons cannot read it. In addition to security, cryptographic algorithm provides integrity, authenticity, non-repudiation and access control. Many cryptographic algorithms have come into existence over time. Modern cryptographic algorithms can be divided into stream ciphers and block ciphers. Stream cipher is an encryption system in which a random looking sequence of bits are generated from a key and then combined with the data to encrypt.