Building a Privacy-First URL Shortener on Blockchain
说明与用途
使用客户端加密和Cronos区块链去中心化存储构建的隐私优先 URL 缩短器,消除数据收集并提供抗审查功能。
问题
Traditional URL shorteners log IPs, timestamps, user agents, track browsing patterns, and sell data, creating a privacy nightmare and a single point of failure if the database is hacked.
结果
Cryptly delivers a privacy‑first URL shortener that eliminates server‑side logging, removes a single point of failure, and offers censorship resistance by storing encrypted URLs on a public blockchain.
工作流
- 1. User enters a URL in the Cryptly web interface.
- 2. The browser generates a random IV and derives an AES-GCM key via Web Crypto API.
- 3. The URL is encrypted client‑side and the ciphertext is sent to a Cloudflare Worker.
- 4. The Worker writes the ciphertext to the Cronos blockchain as a transaction.
- 5. The short link (blockchain transaction hash) is returned to the user.
- 6. When the short link is visited, the browser fetches the ciphertext from the blockchain via the Worker.
- 7. The browser decrypts the ciphertext locally using the same key and IV, revealing the original URL.
- 8. The browser redirects to the decrypted URL without exposing it to any server.
证据
Encrypted URL stored on Cronos blockchain
Server never sees destination
- 记录日期: 2026-09-05T17:23:45.587Z