Glossary · Security

What is AES-128 encryption in streaming?

AES-128 is the Advanced Encryption Standard with a 128-bit key. In streaming it is used to encrypt video segments so they cannot be played without the key. The term usually refers to the basic encryption built into HLS, in which the player fetches the key from a URL listed in the playlist.

How AES-128 works in HLS

Each segment is encrypted when the stream is packaged. The playlist includes a line pointing to the key. The player requests the key over HTTPS, decrypts each segment as it arrives and plays it. The key can be rotated during a stream so that one key unlocks only part of it.

What it protects against

The segments on the CDN are useless on their own, so someone who copies the stream address or downloads the files gets nothing playable. Protection then depends on who can obtain the key. If the key URL requires a signed token or a logged-in session, only entitled viewers get it.

AES-128 vs DRM

DRM systems use AES too, typically with 128-bit keys. The difference is not the cipher but how the key is guarded.

  • Key delivery: with AES-128 the key reaches the player in the clear; with DRM it stays inside a protected module on the device
  • Rules: AES-128 has none; a DRM license sets expiry, resolution limits and offline rights
  • Output: AES-128 cannot block screen capture; hardware DRM can
  • Acceptance: studios generally do not accept AES-128 alone for premium content
  • Cost and effort: AES-128 is simple and has no license fees

When it is enough

For content you own, such as courses, sermons, events and independent films, AES-128 with tokenized key delivery stops casual copying at little cost. For licensed films, series and sport, expect to need DRM.

Last reviewed

FAQ

AES-128 encryption, answered.

More definitions in the streaming glossary.

Planning a streaming service?
Is AES-128 secure?

The cipher itself is very strong. The weak point in basic HLS encryption is that the key is handed to the player openly, where a determined user can capture it.

Is AES-128 the same as DRM?

No. It encrypts the video but does not protect the key on the device or enforce any playback rules.

Does encryption affect playback performance?

Negligibly. Modern devices decrypt AES in hardware with no visible effect on playback.

Ready to own the screen?

Tell us what you are launching. We will walk through the platform and map the path to go-live around your catalog, markets and revenue model.