About this endpoint
What it does
Encrypts an uploaded file using the provided AES key and returns the encrypted file as binary output.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | File to encrypt (max 10 MB) |
| key | String | Yes | AES key from GenerateKey, URL-safe Base64 (16, 24 or 32 bytes) |
Response
Returns a binary file stream containing the encrypted file. The success response is a raw String-formatted binary payload, not a JSON object.



