Building a Privacy-First URL Shortener on Blockchain
Описание и применение
Создан приватный сокращатель URL, использующий клиентское шифрование и хранение зашифрованных ссылок в блокчейне Cronos, чтобы избежать сбора данных и уязвимостей централизованных сервисов.
Задача
Traditional URL shorteners log user data, track browsing patterns, and can be hacked, exposing sensitive information.
Результат
Cryptly provides a URL shortener that never exposes destination URLs to servers, offers censorship resistance, and eliminates a single point of failure.
Рабочий процесс
- 1. User enters a URL in the Cryptly web interface.
- 2. The browser generates a random IV and derives an AES‑GCM key.
- 3. The URL is encrypted with Web Crypto API and the ciphertext is sent to a Cloudflare Worker.
- 4. The Worker writes the ciphertext to the Cronos blockchain via a smart‑contract transaction.
- 5. The short link (blockchain transaction hash) is returned to the user.
- 6. When the short link is visited, the browser fetches the ciphertext from the blockchain.
- 7. The browser decrypts the ciphertext locally using the same key and IV, revealing the original URL.
- 8. The browser navigates to the decrypted URL without exposing it to any server.
Доказательства
Encrypted URL stored on Cronos blockchain
Server never sees destination
- Дата записи: 2026-09-06T01:22:55.436Z