Content Encryptor
AES-256-GCM encryption. Runs entirely in your browser — no uploads, no storage, no server.
Save this key. It is never stored or sent anywhere — only you have it. Your server/webhook will embed this key in the payment confirmation response to unlock the content.
Embed this key in your SatsRail webhook response so the browser can decrypt on payment confirmation. Never put this key in your HTML page.
Client-Side Encryption
1. Encrypt
Select your content file and generate a unique AES-256-GCM encryption key. Everything happens in your browser.
2. Embed
Place the encrypted payload in your page HTML. The content is unreadable without the decryption key.
3. Deliver
After Lightning payment, your webhook returns the key. The buyer's browser decrypts and displays the content instantly.