Building a Privacy-First URL Shortener on Blockchain
说明与用途
构建一个仅在区块链上存储加密链接的 URL 缩短器,保护用户免受跟踪和数据泄露。
问题
Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and a single point of failure.
结果
A privacy-preserving URL shortener that stores only encrypted URLs on a blockchain, eliminating server-side tracking and providing censorship resistance.
工作流
- 1. User enters a URL in the client browser.
- 2. Client encrypts the URL using Web Crypto API (AES-GCM).
- 3. Encrypted data is sent to a Cloudflare Worker.
- 4. Worker writes the encrypted payload to the Cronos blockchain.
- 5. The worker returns a short link pointing to the blockchain record.
- 6. When the short link is visited, the browser fetches the encrypted data from the blockchain.
- 7. Browser decrypts the data locally and redirects to the original URL.
证据
Encrypted URL stored on Cronos blockchain
Server never sees destination URLs
- 记录日期: 2026-09-09T14:17:00.800Z