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

Building a Privacy-First URL Shortener on Blockchain

说明与用途

一个隐私优先的 URL 缩短器,客户端使用 AES‑GCM 加密链接,服务器仅将密文存储在 Cronos 区块链上,防止服务器跟踪和数据泄露。

问题

Traditional URL shorteners log user data, track browsing patterns, and can be hacked, compromising privacy.

结果

The system achieves privacy by ensuring the server never sees the destination URL, eliminates centralized data storage, and provides censorship‑resistant, immutable storage on blockchain.

工作流

  • Generate a random IV and AES-GCM key in the browser
  • Encrypt the destination URL client‑side with Web Crypto API
  • Send the ciphertext to a Cloudflare Worker
  • Worker writes the ciphertext to the Cronos blockchain via a smart‑contract call
  • User accesses the short URL, Worker fetches ciphertext from blockchain
  • Browser decrypts ciphertext locally and redirects to the original URL

证据

Encrypted URL stored on Cronos blockchain

来源

Server never sees destination

来源

  • 记录日期: 2026-09-17T15:30:46.385Z