About Relay Secret

How encrypted sharing works, and answers to common questions.

Common questions

Does your server ever see my data?

Message and file contents are encrypted in your browser with AES-GCM-256 before upload. The secret key is carried in the URL fragment (#…), which browsers do not send to the server. Filenames and some upload metadata are not encrypted, so rename sensitive files before sharing them.

Is the encryption quantum-safe?

The symmetric layer uses AES-GCM-256 with a PBKDF2-SHA256-derived key. A quantum computer running Grover's algorithm would reduce AES-256's effective security to about 128 bits. Sharing uses a random secret in the URL fragment rather than an RSA or elliptic-curve key exchange.

How big can a file be?

Files up to 500 MB are encrypted in one pass. Larger files are split into 128 MB chunks for multipart upload. The application currently allows up to 500 parts, about 62.5 GiB in total. The browser prepares encrypted chunks before uploading them, so available memory may impose a lower practical limit. Large downloads are decrypted chunk by chunk.

Can I inspect the source?

The site and Worker source are available on GitHub. You can review the code or run your own instance.