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

Building a Privacy-First URL Shortener on Blockchain

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

Создан приватный сокращатель URL, где клиент шифрует ссылку, она хранится на децентрализованном блокчейне, а сервер никогда не видит целевой URL.

Задача

Traditional URL shorteners log IPs, timestamps, user agents, track browsing patterns, and sell data, creating a privacy nightmare and a single point of failure if the database is hacked.

Результат

The system achieves a privacy‑first URL shortener where the server never sees destination URLs, no tracking or analytics are performed, and data is stored on a censorship‑resistant blockchain, eliminating a single point of failure.

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

  • Generate a random IV and AES‑GCM key in the browser.
  • Encrypt the target URL with Web Crypto API using the key and IV.
  • Send the encrypted payload to a Cloudflare Worker endpoint.
  • The Worker writes the encrypted data to the Cronos blockchain via a smart contract.
  • When a user visits the short link, the Worker fetches the encrypted payload from the blockchain.
  • The browser decrypts the payload locally with the same key and IV.
  • The browser redirects to the original URL without exposing it to any server.

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

Encrypted URL stored on Cronos blockchain

Источник

Server never sees destination

Источник

  • Дата записи: 2026-09-15T17:30:27.806Z