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