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

Building a Privacy-First URL Shortener on Blockchain

Описание и применение

Создано приватное сокращение 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 delivers a URL shortener that never sees destination URLs, removes tracking, and stores data on a tamper‑proof blockchain, providing privacy and censorship resistance.

Рабочий процесс

  • 1. User enters a URL in the web interface.
  • 2. Client‑side JavaScript generates a random IV and AES‑GCM key.
  • 3. The URL is encrypted with Web Crypto API and the IV.
  • 4. The encrypted payload is sent to a Cloudflare Worker.
  • 5. The Worker writes the encrypted data to the Cronos blockchain via a transaction.
  • 6. The Worker returns a short code derived from the transaction hash.
  • 7. User shares the short link (e.g., https://cryptly.workers.dev/abc123).
  • 8. When the link is visited, the Worker fetches the encrypted payload from the blockchain.
  • 9. The browser decrypts the payload locally using the same key and IV.
  • 10. The browser redirects to the original destination URL without exposing it to any server.

Доказательства

Encrypted URL stored on Cronos blockchain

Источник

Server never sees destination

Источник

  • Дата записи: 2026-09-07T10:47:22.105Z