Download OpenAPI specification:
| X-API-Key | string Default: open-encrypt-public-api-key The public API key for authentication. |
| method required | string The cryptographic method to use. |
{- "method": "ring_lwe"
}{- "public_key": "AAgAAAAAAAB+BwAAAAAAAI0N...",
- "secret_key": "AAQAAAAAAAAAAAAAAAAAAP..."
}| X-API-Key | string Default: open-encrypt-public-api-key The public API key for authentication. |
| method required | string |
| plaintext required | string |
| public_key required | string Base64-encoded public key |
{- "method": "ring_lwe",
- "plaintext": "Hello world!",
- "public_key": "AAgAAAAAAAB+BwAAAAAAAI0N..."
}{- "ciphertext": "AAgAAAAAAAATEgAAAAAAAPT3..."
}| X-API-Key | string Default: open-encrypt-public-api-key The public API key for authentication. |
| method required | string |
| secret_key required | string Base64-encoded secret key |
| ciphertext required | string |
{- "method": "ring_lwe",
- "secret_key": "AAQAAAAAAAAAAAAAAAAAAP...",
- "ciphertext": "AAgAAAAAAAATEgAAAAAAAPT3..."
}{- "plaintext": "Hello world!"
}