hlsenc: Add encryption support