Vigenere encryption now owrking with streams