More StreamCipher refactor

Move compress and decompress into StreamCipher