Text

AES Encrypt

0calls
Free

Need to securely transmit or store some text information? AES encryption is a reliable choice.

Overview

This is a standard AES encryption endpoint. You provide the plaintext to encrypt and the key, we return Base64-encoded ciphertext.

Important

About Key key We support AES-128, AES-192, and AES-256. Please ensure the length (in bytes) of the key key you provide is exactly 16, 24, or 32, corresponding to these three encryption strengths.

Request body

key
stringrequired

Key length must be 16, 24, or 32 bytes, corresponding to AES-128, AES-192, AES-256 respectively.

text
stringrequired

Plaintext text to be encrypted.

Response

200 / OK

Successful response

JSON

400 / Bad Request

Invalid request parameters

JSON

500 / Internal Server Error

Encryption failed

JSON