Use cipher stream filter in filter loop