added toy stream cypher code