Published · 5 min read
What is zero-knowledge encryption?
What does it take for a file transfer service to truthfully say “we can’t see your files”? End-to-end encryption and zero-knowledge design, explained simply.
Why “we encrypt your files” isn’t enough
Most cloud services say they encrypt your files at rest. That is true, but the more important question is who holds the key. If the company keeps the key too, your files can be opened by insiders, attackers or legal requests at any time.
Zero-knowledge design removes that problem structurally. The service never creates, receives or stores the key. “We won’t look” becomes “we can’t look”.
End-to-end: only the two ends can open it
End-to-end encryption (E2EE) locks data on the sender’s device and unlocks it only on the recipient’s. Everything in between — the network and the server — only ever sees locked data.
In Yuk Pin all of this happens inside the web browser:
- The browser creates a random PIN.
- Argon2id derives an encryption key from the PIN.
- The file is encrypted with AES-256-GCM and then uploaded.
- The recipient’s browser derives the same key from the same PIN and decrypts.
So what does the server know?
A server can’t know nothing at all — the recipient has to be able to find the transfer with the PIN. Yuk Pin’s server receives only the ciphertext and a lookup value made by running the PIN through a deliberately slow function. The server then transforms that value again with a secret key only it holds.
Argon2id is memory-hard, which makes trying every possible PIN against a lookup value expensive.
For sensitive content, add a password on top of the PIN. The server never learns it, so the information on the server alone can’t open your transfer.
What zero-knowledge can’t protect
Encryption is powerful but not magic. Anyone who has the PIN can open the transfer, and a device infected with malware can leak files before they are ever encrypted. Treat the PIN like a key and share it only with the people who need it.
For the full picture, see how Yuk Pin protects your data.