Removing unnecessary key-stream implementation.
Consolidating code in core.cljs.