Building a Privacy-First URL Shortener on Blockchain
说明与用途
使用客户端加密和Cronos区块链存储构建隐私优先的 URL 缩短器,服务器永远看不到目标 URL,消除跟踪和单点故障。
问题
Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and single points of failure.
结果
Cryptly provides a privacy‑first URL shortener where the server never sees the destination URL, eliminating tracking and single points of failure while leveraging blockchain for censorship‑resistance.
工作流
- 1. User enters a URL in the client UI.
- 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 immutable data.
- 5. The short link is returned to the user.
- 6. When the short link is visited, the browser fetches the ciphertext from the blockchain.
- 7. The browser decrypts the ciphertext locally using the same key and IV, revealing the original URL.
- 8. The browser redirects to the decrypted destination without exposing it to any server.
证据
Encrypted URL stored on Cronos blockchain
Server never sees destination
- 记录日期: 2026-09-05T17:46:07.159Z