Cryptanalysis and design of stream ciphers door