Instead of creating a full keystream for large data, generate it in blocks on demand (reduces memory consumption).
Instead of creating a full keystream for large data, generate it in blocks on demand (reduces memory consumption).