Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Создана приватная система сокращения 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.
Результат
Cryptly provides a privacy‑first URL shortener where no server logs user data, the data is stored immutably on a blockchain, and decryption occurs entirely in the browser, eliminating tracking and single points of failure.
Рабочий процесс
- 1. User enters a URL in the Cryptly web interface.
- 2. The browser generates a random IV and derives an 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 smart contract.
- 6. The Worker returns a short code to the user.
- 7. When the short code is visited, the Worker fetches the encrypted payload from the blockchain.
- 8. The browser decrypts the payload locally and redirects to the original URL.
Доказательства
Encrypted URL stored on Cronos blockchain
Server never sees destination
- Дата записи: 2026-09-22T17:30:36.435Z