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

  1. First visit: Your browser generates an RSA key pair, stored securely in IndexedDB with extractable: false.
  2. Click unlock: Your public key is sent to the server, which returns the encrypted decryption key for the premium tier.
  3. Decrypt locally: Your browser unwraps the key and decrypts the content. The unwrapped key is cached for the session.
  4. 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.