The AES encryption API allows you to encrypt and decrypt ciphertext using the Advanced Encryption Standard (AES) algorithm. This API takes plaintext, an encryption key, as input and returns the encrypted plaintext.
for decryption this API takes ciphertext, an encryption key, and an initialization vector (IV) as input and returns the decrypted plaintext.
Usage:
curl -X POST -H “Content-Type: application/json” -d ‘{
“text”: “YourPlainTextHere”,
“encryption_key”: “YourEncryptionKeyHere”
}’ https://yourserver.com/your-api-endpoint.php