0

I am making some HTTP Live Streaming files (an Apple based way to segment video files so they can be 'streamed' by downloading specific chunks of a file (more info)). It's possible to 'encrypt' each of the segments with a simple key, as a simple form of DRM. The Apple provided tools can do the encryption, but for various reasons I need to do this on Linux (Ubuntu). What tools/programmes can encrypt the HTTP Live Streaming Segments on Linux this way?

Amandasaurus
  • 33,461

1 Answers1

2

Based on section 6.3.6 of the draft submitted to the IETF, all you'd need to do is pass each file through AES-128-CBC, which can be easily done via a small web-facing script (PHP's passthru(), for example) and the "openssl" command-line interface to OpenSSL.

Actual level of sanity involved in attempting this, on the other hand, is still open for debate. Especially since this adds exactly nothing to the security of your stream, unless I'm missing something terribly obvious in the spec.

BMDan
  • 7,379