Encrypting Uploads Without Breaking Streaming

Engineering

Encrypting Uploads Without Breaking Streaming

AES-256-GCM, chunk by chunk.

Ravi Kandaswamy

Ravi Kandaswamy

· 9 min read

Encryption is table stakes, but naive designs break streaming. We chunk, MAC, and verify in 1 MB blocks so seeking mid-file remains O(1). Here is the approach we landed on.

Welcome back

Choose how you'd like to sign in.

Continue with Google

New users will be automatically registered.

OTP login is only available for registered users who have a phone number on their account. New users should sign in with Google first.

How's your experience?

Report an Issue