Remove some unused stuff.
Refactor createKeyStream for readability