nulltransfer
Language: EN

How the encryption works, in depth.

For anyone who wants to check the claims. This page describes what happens to a file, a key and a code at each step, and what each of our servers can observe.

Keys

Every transfer, drop and note gets a fresh 256-bit key from the browser's cryptographic random generator. The key is placed in the link's fragment, the part after #. Browsers do not include the fragment in requests, so it never reaches our servers or their logs.

Sealing

Files are split into 64 KiB pieces. Each piece is encrypted with AES-256-GCM using the Web Crypto API, with a unique nonce per piece. GCM authenticates every piece, so a piece that was altered or reordered fails to open rather than producing wrong data. File names and the list of files travel inside the seal.

The access code

The 6-digit access code is never sent to us, not even hashed in a form that could be guessed offline. The two browsers run a password-authenticated key exchange (CPace on the P-256 curve): each proves it knows the code, and a wrong guess reveals nothing about the right one. Our server counts attempts, and after five wrong ones the transfer is locked for good. One million possible codes and five tries give odds of 1 in 200,000.

Live transfers

The two browsers exchange connection details through our signalling server, then connect directly with WebRTC, whose data channels are encrypted with DTLS on top of our own seal. With Hide my IP, the connection goes through a TURN relay run on Cloudflare; the relay forwards sealed bytes and saves nothing.

Stored drops and notes

For a drop, the browser seals the file before upload, so storage holds ciphertext only. The stored size is rounded up in steps so it says little about the contents. Drops burn after their last allowed pickup or at expiry and are deleted within 15 minutes. Notes are deleted on first read. Five wrong access codes burn a drop.

What our servers can see

  • Never: file contents, file names, keys, access codes.
  • In passing: the connection details browsers exchange (which include IP addresses), not kept.
  • For stored drops: ciphertext, a rounded size, times, pickup counts and a hash of the link token.

The site loads no third-party scripts and no analytics, and serves its own fonts. A strict Content Security Policy blocks anything else. More in privacy, in plain words.

Questions

What encryption does NullTransfer use?

AES-256-GCM on every 64 KiB piece, in the browser, with a fresh 256-bit key per transfer. Live transfers also run over WebRTC's DTLS encryption.

Where is the key kept?

Only in the link, after the #. Browsers never send that part of a URL to a server.

How is the access code checked without being sent?

With a password-authenticated key exchange (CPace on P-256). Each side proves it knows the code; a wrong guess reveals nothing, and five wrong tries lock the transfer.

Updated .