Skip to content

pq-seal

Sealed values stay useless in recordings, even if TLS is broken later.

pq-seal is a plain library: it encrypts any data in the browser and decrypts it on the Go server, and the other way round. Endpoints, fields and JSON formats stay with the application.

Both directions

Browser and server can do the same. Whoever sends seals for the public key of the other side.

One string

The result fits into a JSON field, a header or a complete body.

Hybrid

HPKE with MLKEM768X25519: an attacker has to break both X25519 and ML-KEM-768.

Nothing to bundle

The browser side comes from the Go module. No npm package, always the same version.