Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building a Privacy-First URL Shortener on Blockchain

说明与用途

使用客户端加密和Cronos区块链存储的隐私优先 URL 缩短器,消除服务器端数据收集并提供抗审查功能。

问题

Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and single points of failure.

结果

Cryptly demonstrates a privacy‑first URL shortener that eliminates server‑side data collection, protects against database hacks, and offers censorship resistance via blockchain storage.

工作流

  • 1. User enters a URL in the client UI.
  • 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 as immutable data.
  • 5. The Worker returns a short code (e.g., a hash or index).
  • 6. User shares the short link (cryptly.workers.dev/<code>).
  • 7. When the short link is visited, the Worker fetches the ciphertext from the blockchain.
  • 8. The browser decrypts the ciphertext locally with the stored key and redirects to the original URL.
  • 9. No server logs or analytics are collected.
  • 10. The system remains censorship‑resistant and privacy‑preserving.

证据

Encrypted URL stored on Cronos blockchain

来源

Server never sees destination URLs

来源

  • 记录日期: 2026-09-20T09:32:27.667Z