The ability to encrypt segments was introduced as a pull request in HLS-17
At the time I did a fairly cursory code review - scanned the patch, and ran against a video to check it worked. HLS-20
shows that this probably wasn't enough, so I want to take a close look at that function (including the HLS-20
changes) and make sure there aren't any other issues hiding.