Encryption uses AES-CBC (256-bit). Compatible with Web Crypto and protocols like Lit.
Flow
- Generate a 256-bit AES key and encrypt the video (random IV, PKCS#7 padding).
- Fetch Livepeerβs public key from
GET https://livepeer.studio/api/access-control/public-key(with Bearer API key). - Encrypt the symmetric key with that public key (SPKI format in browsers).
- Create an asset with the encrypted key (base64) and upload the encrypted file via the returned TUS URL.