Encrypt data (JWE).

Encrypts Base64‑encoded data using the public key associated
with kid.
Supported algorithms: ML‑KEM (KEM), RSA, ECC (ECIES).

Output format depends on key type:
• SIMPLE keys: JWE Compact Serialization (RFC 7516 §7.1) - String
• COMPOSITE keys: JWE General JSON Serialization (RFC 7516 §7.2) - Object

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON payload containing the key identifier (kid) and
the plaintext (data) to encrypt, both Base64‑encoded.

Request object for encrypting Base64-encoded data.

string
required
length ≥ 1

The kid of the key used to encrypt the data.

string
required
length ≥ 1

The raw data in Base64 format to be encrypted.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json