Skip to content
SendFiles

How Browser AES-256 Encryption Protects Your Files

Most file-sharing sites promise 'HTTPS encryption,' which only protects your file on the wire — the provider still holds readable copies on its servers. Here is how browser-side AES-256-GCM works differently.
  • 256-Bit AES-GCM in Web Crypto
  • 4 MB Authenticated Chunks
  • Hardware-Accelerated Speed
  • Auto-Deleted After Download

Encrypted Before Upload

Your browser generates a fresh 256-bit key per transfer and encrypts every 4 MB slice locally before a single byte leaves your device.

Tamper-Proof GCM Tags

Every chunk carries a unique initialization vector and cryptographic authentication tag so corrupted or modified data is rejected automatically.

Auto-Deleted on Finish

Once the receiver completes a 1-to-1 transfer, temporary encrypted chunks are purged automatically — no 7-day cloud leftovers.

Why “Encrypted in Transit” Is Not Enough

When you upload a private contract, ID scan, or family video to a standard cloud transfer site, HTTPS encrypts the connection between your browser and their server — but the moment it lands on their disk, the server decrypts and stores your file for days or weeks. If a link leaks or a bucket is misconfigured, your file is exposed.

Step-by-Step: What Happens Inside SendFiles.in

  1. Fresh Key Generation: When you start a transfer, your browser calls the native window.crypto.subtle API to create a random 256-bit AES-GCM key unique to that transfer room.
  2. 4 MB Chunk Slicing: Instead of loading a 10 GB video into RAM, SendFiles reads 4 MB slices one by one and encrypts each slice with its own unique nonce/IV and associated session metadata.
  3. Live Ciphertext Streaming: Only unreadable ciphertext is transmitted to the relay or peer-to-peer channel. As soon as Chunk 0 arrives, the receiver begins downloading and decrypting locally.
  4. Immediate Cleanup: On 1-to-1 transfers, temporary encrypted chunks are deleted automatically right after the receiver finishes — leaving zero permanent file storage on our servers.

Want to inspect our privacy guarantees in detail? Visit our Security & Privacy page, try anonymous file transfer without login, or read our Help & Troubleshooting Guide.

Security FAQ

Browser Encryption Questions

What does AES-256-GCM mean in simple terms?

AES-256 is the same 256-bit encryption standard used by banks and governments. GCM (Galois/Counter Mode) adds built-in authentication so if even a single bit of your file is altered or corrupted in transit, your browser immediately detects it and refuses to accept the corrupted chunk.

Does browser encryption slow down my 10 GB file transfer?

No. Modern phones and laptops have dedicated hardware AES-NI / ARMv8 crypto instructions accessed natively through the browser's Web Crypto API, encrypting and decrypting at hundreds of megabytes per second — far faster than most internet connections.

Why is HTTPS required for encrypted transfers?

Browsers only expose the native Web Crypto API (crypto.subtle) inside secure HTTPS contexts. This guarantees your encryption code and key exchange cannot be intercepted or downgraded on public Wi-Fi.

What happens to temporary encrypted chunks after my recipient downloads the file?

For standard 1-to-1 transfers, SendFiles triggers automatic deletion of temporary encrypted chunks immediately after download completion — leaving zero long-term file copies sitting in third-party cloud buckets.