Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Создан приватный сокращатель URL, где клиент шифрует ссылку, а сервер хранит только зашифрованные данные на блокчейне Cronos, обеспечивая конфиденциальность и устойчивость к взломам.
Задача
Traditional URL shorteners log user data, track browsing patterns, and can be hacked, compromising privacy.
Результат
The system achieves privacy by ensuring the server never sees the destination URL, eliminates centralized data storage, and provides censorship‑resistant, immutable storage on blockchain.
Рабочий процесс
- Generate a random IV and AES-GCM key in the browser
- Encrypt the destination URL client‑side with Web Crypto API
- Send the ciphertext to a Cloudflare Worker
- Worker writes the ciphertext to the Cronos blockchain via a smart‑contract call
- User accesses the short URL, Worker fetches ciphertext from blockchain
- Browser decrypts ciphertext locally and redirects to the original URL
Доказательства
Encrypted URL stored on Cronos blockchain
Server never sees destination
- Дата записи: 2026-09-17T15:30:46.385Z