Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Создан приватный сокращатель URL, который шифрует ссылки в браузере, хранит их на блокчейне и никогда не раскрывает серверу целевой URL.
Задача
Traditional URL shorteners log user data, track browsing patterns, and sell data, creating privacy risks and a single point of failure.
Результат
A fully functional, privacy‑first URL shortener that encrypts URLs client‑side, stores them immutably on a blockchain, and never exposes destination URLs to the server.
Рабочий процесс
- Generate a random IV and AES-GCM key in the browser.
- Encrypt the destination URL client‑side using Web Crypto API.
- Send the ciphertext to a Cloudflare Worker endpoint.
- Store the ciphertext on the Cronos blockchain via the worker.
- When a user visits the short link, the worker fetches the ciphertext from the blockchain.
- The browser decrypts the ciphertext locally and redirects to the original URL.
- No server logs or analytics are collected.
- The system remains censorship‑resistant and tamper‑proof.
Доказательства
Encrypted URL stored on Cronos blockchain
- Дата записи: 2026-09-19T23:30:35.898Z