Building a Privacy-First URL Shortener on Blockchain
说明与用途
构建了一个基于区块链的隐私优先 URL 缩短器,使用客户端加密和 Cronos 区块链存储,消除服务器日志记录和单点故障。
问题
Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and a single point of failure.
结果
Cryptly provides a privacy‑first URL shortener that eliminates server‑side logging, removes a single point of failure, and offers censorship‑resistance via blockchain storage.
工作流
- Generate a random IV and AES‑GCM key in the browser
- Encrypt the destination URL with Web Crypto API
- Send the ciphertext and IV to a Cloudflare Worker
- Worker writes the ciphertext to the Cronos blockchain via a smart contract
- User accesses the short URL, Worker retrieves ciphertext from blockchain
- Browser fetches ciphertext, decrypts locally, and redirects to the original URL
证据
Encrypted URL stored on Cronos blockchain
Server never sees destination
- 记录日期: 2026-09-15T03:01:23.468Z