Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Body

application/json
plain_text_data
string

Plaintext data to encrypt

receiver_nonce
string

Nonce associated with the receiver's key pair

receiver_public_key
string

Base64-encoded public key of the receiver

sender_nonce
string

Nonce associated with the sender's key pair

sender_private_key
string

Base64-encoded private key of the sender

sender_public_key
string

Base64-encoded public key of the sender

Response

OK

encrypted_data
string

Base64-encoded encrypted data

key_to_share
string

Public key material to share with the receiver