Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Создание URL‑сокращателя, который хранит только зашифрованные ссылки на блокчейне, защищая пользователей от отслеживания и утечек данных.
Задача
Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and a single point of failure.
Результат
A privacy-preserving URL shortener that stores only encrypted URLs on a blockchain, eliminating server-side tracking and providing censorship resistance.
Рабочий процесс
- 1. User enters a URL in the client browser.
- 2. Client encrypts the URL using Web Crypto API (AES-GCM).
- 3. Encrypted data is sent to a Cloudflare Worker.
- 4. Worker writes the encrypted payload to the Cronos blockchain.
- 5. The worker returns a short link pointing to the blockchain record.
- 6. When the short link is visited, the browser fetches the encrypted data from the blockchain.
- 7. Browser decrypts the data locally and redirects to the original URL.
Доказательства
Encrypted URL stored on Cronos blockchain
Server never sees destination URLs
- Дата записи: 2026-09-09T14:17:00.800Z