Interactive Demo
Try Capsule with these demo articles. Unlock individual articles or get a subscription key to unlock all premium content at once.
๐ Your Keys
Keys are stored securely in your browser's IndexedDB.
Demo Articles
Each article has a free preview and encrypted premium content. Try unlocking them to see Capsule in action.
The Complete Guide to Web Security
Learn about encryption fundamentals, envelope encryption, and how Capsule implements client-side decryption.
๐ Premium Content
Understanding Cryptography Basics
A beginner-friendly introduction to symmetric and asymmetric encryption, and how the Web Crypto API makes it all accessible.
๐ Premium Content
๐ How the Demo Works
- First visit: Your browser generates an RSA key pair, stored securely in IndexedDB with
extractable: false. - Click unlock: Your public key is sent to the server, which returns the encrypted decryption key for the premium tier.
- Decrypt locally: Your browser unwraps the key and decrypts the content. The unwrapped key is cached for the session.
- Subsequent articles: Since the key is cached, other premium articles decrypt instantlyโeven offline!
๐ก Try this: Unlock one article, then open another in a new tab. You'll see it decrypts immediately without contacting the server.