The problem
Encrypting a file is easy. Delivering the key safely, and taking access back later, is not.
What it is
Encrypt a file in the browser, pin it to IPFS, and keep control after sending it: revoke access with one transaction, charge per view, or block copy and download. Keys come from the wallet, so nobody ever pastes a password.
How it flows
- 01File in browser
- 02AES-256-GCM
- 03IPFS (Pinata)
- 04Contract check
- 05Wallet unlocks
What I built
Invisible PKI
A hidden key pair is derived per wallet; files are encrypted to the recipient's public key, and their wallet unlocks it.
Refusable access
The UI must ask the contract before decrypting, so a single revoke locks the file for good.
Pay-per-view
Set a price in Sepolia ETH; the contract releases access only after payment.
No server trust
AES-256-GCM in the browser, ciphertext on IPFS. The server never sees plaintext or keys.
Stack
- Solidity
- Web Crypto (AES-GCM, RSA-OAEP)
- IPFS / Pinata
- ethers v6
- Three.js
- Vanilla JS
Limits
Experimental beta on Sepolia. A screen can still be photographed; RDO raises the cost of leaking, it can't remove it.