Building a Privacy-First URL Shortener on Blockchain
说明与用途
构建了一个隐私优先的 URL 缩短器,使用客户端加密并将加密后的 URL 存储在 Cronos 区块链上,浏览器本地解密,消除服务器端跟踪和数据泄露。
问题
Traditional URL shorteners log IPs, timestamps, user agents, track browsing patterns, and sell data, creating privacy risks and a single point of failure.
结果
Cryptly delivers a privacy‑first URL shortener that stores encrypted URLs on a blockchain, preventing server‑side tracking, data breaches, and censorship.
工作流
- 1. User enters a URL in the Cryptly web interface.
- 2. The browser generates a random IV and AES‑GCM key using 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 via a smart‑contract transaction.
- 5. The Worker returns a short code (hash) to the user.
- 6. When the short code is visited, the Worker fetches the ciphertext from the blockchain.
- 7. The browser decrypts the ciphertext locally and redirects to the original URL.
- 8. No server logs or analytics are collected.
- 9. The system remains censorship‑resistant and tamper‑proof due to blockchain immutability.
证据
Encrypted URL stored on Cronos blockchain
Server never sees destination URLs
- 记录日期: 2026-09-21T13:00:52.177Z