1. Encrypting a Standard Web Push Notification (RFC 8291 aes128gcm)
Backend EngineerBackground
An engineer is implementing an order status notification service and needs to generate an encrypted push payload compatible with modern browsers.
Problem
Verify that the backend's ECDH key agreement, HKDF derivation, and RFC 8188 payload structure match standard RFC 8291 outputs.
How to use
Enter the JSON payload, paste the subscription p256dh public key and auth secret, provide ephemeral P-256 keys, and configure TTL and urgency headers.
payload: '{"title":"Order shipped","id":48291}', encoding: 'aes128gcm', ttl: 60, urgency: 'normal', vapidSub: 'mailto:[email protected]'Outcome
Generates the complete HTTP/2 POST request body with RFC 8188 binary headers, VAPID Authorization token, and an intermediate crypto trace.