Building a Privacy-First URL Shortener on Blockchain
说明与用途
作者构建了 Cryptly,一个注重隐私的 URL 缩短器,使用 Cronos 区块链和客户端加密。这防止了服务器端跟踪并消除了集中式数据库被黑客攻击的风险。
问题
Traditional URL shorteners log user IPs, timestamps, user agents, and destination URLs, track browsing patterns, sell data to advertisers, and maintain centralized databases that are vulnerable to hacking.
结果
A privacy-first URL shortener that prevents server-side tracking, eliminates centralized database risks, and offers censorship resistance through blockchain storage and client-side encryption.
工作流
- Client-side encryption of the destination URL using AES-GCM via Web Crypto API.
- Storage of the encrypted URL on the Cronos blockchain.
- Browser fetches the encrypted data from the blockchain.
- Local decryption of the URL in the browser using Web Crypto API.
- Redirection to the destination URL without server-side visibility.
证据
Server never sees destination URLs
No database to leak
- 记录日期: 2026-09-08T16:02:52.052Z