Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Cryptly — это приватный сервис сокращения URL, использующий клиентское шифрование и хранение зашифрованных ссылок на блокчейне Cronos, чтобы сервер не видел целевые URL и не собирал данные о пользователях.
Задача
Traditional URL shorteners log user data and can be hacked, exposing sensitive browsing information.
Результат
Cryptly provides a privacy‑first URL shortener where the server never sees the destination URL, no tracking data is collected, and the data is stored immutably on a blockchain, reducing the risk of data breaches.
Рабочий процесс
- 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.
- 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.
- The server never sees the plaintext URL or user data.
Доказательства
Bit.ly logs your IP, timestamp, user agent
Encrypted URL stored on Cronos blockchain
Server never sees destination
- Дата записи: 2026-09-16T03:00:34.882Z