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.
Результат
Cryptly provides a privacy‑first URL shortener that never exposes destination URLs to servers, removes centralized tracking, and leverages blockchain for immutable, censorship‑resistant storage.
Рабочий процесс
- Generate a random IV and AES‑GCM key in the browser.
- Encrypt the destination URL with Web Crypto API.
- Send the ciphertext to a Cloudflare Worker endpoint.
- Worker writes the ciphertext to the Cronos blockchain via a smart contract.
- When a user clicks the short link, the Worker fetches the ciphertext from the blockchain.
- The browser decrypts the ciphertext locally and redirects to the original URL.
- The server never sees the plaintext URL or user metadata.
Доказательства
Bit.ly logs your IP, timestamp, user agent
Encrypted URL stored on Cronos blockchain
- Дата записи: 2026-09-07T04:22:24.651Z