x402node_crypto_aes-encrypt
Encrypt plaintext using AES-256-GCM symmetric encryption. Returns IV, ciphertext, and authentication tag for authenticated data protection.
Instructions
AES encryption / AES-256-GCM / symmetric encryption / authenticated encryption / data encryption / secure encryption / cipher / encrypt string. Encrypt plaintext using AES-256-GCM with a 32-byte key. Returns IV, ciphertext, and authentication tag.
Price: unknown on Base (auto-paid in USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iv | No | Optional 12-byte IV in hex (default: random) | |
| key | Yes | 32-byte key in hex (64 hex chars) or base64 (required) | |
| plaintext | Yes | Text to encrypt (required) |