Stream Ciphers

handle legacy mode stream ciphers correctly