A stream cipher is basically a cryptographically secure RNG. It takes a key (and sometimes an IV or nonce) and generates an endless stream of random bytes.

Counter (CTR) mode

One popular way to make stream ciphers recently is to take a regular block cipher and just encoding a counter with it.

Cryptography