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 achieves a privacy‑first URL shortener where the server never sees destination URLs, no tracking occurs, and data is stored on a censorship‑resistant blockchain.
Рабочий процесс
- 1. User enters URL in the client UI.
- 2. Browser generates a random IV and AES‑GCM key.
- 3. URL is encrypted with Web Crypto API.
- 4. Encrypted payload is sent to a Cloudflare Worker.
- 5. Worker writes the encrypted data to the Cronos blockchain.
- 6. Worker returns a short code to the user.
- 7. When the short code is visited, the Worker fetches the encrypted data from the blockchain.
- 8. Browser decrypts the payload locally and redirects to the original URL.
Доказательства
Encrypted URL stored on Cronos blockchain
Server never sees destination
- Дата записи: 2026-09-15T09:45:37.769Z