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

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 a privacy nightmare and a single point of failure.

结果

The system achieves a privacy‑first URL shortener where the server never sees destination URLs, no tracking occurs, and data is stored on a censorship‑resistant blockchain.

工作流

  • 1. User enters URL in the client UI.
  • 2. Browser generates a random IV and AES‑GCM key.
  • 3. URL is encrypted with Web Crypto API.
  • 4. Encrypted payload is sent to a Cloudflare Worker.
  • 5. Worker writes the encrypted data to the Cronos blockchain.
  • 6. Worker returns a short code to the user.
  • 7. When the short code is visited, the Worker fetches the encrypted data from the blockchain.
  • 8. Browser decrypts the payload locally and redirects to the original URL.

证据

Encrypted URL stored on Cronos blockchain

来源

Server never sees destination

来源

  • 记录日期: 2026-09-15T09:45:37.769Z