{"uid":"cap_DaNU1KG9opBvdckRYz_Wz","slug":"api-x402node-dev-af755aa5","name":"AES-256-GCM Decrypt","description":"AES decryption, AES-256-GCM decrypt, symmetric decryption, authenticated decryption, decrypt cipher, decode encrypted. Decrypt AES-256-GCM ciphertext given the key, IV, and authentication tag. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/crypto/aes-decrypt","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["key"],"properties":{"iv":{"type":"string","description":"Init vector (hex) (optional)"},"key":{"type":"string","description":"Key (hex) (required)"},"auth_tag":{"type":"string","description":"Auth_tag (optional)"},"ciphertext":{"type":"string","description":"Text to decrypt (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.016","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.016/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BsnjYaawBKjq7KeToTMlR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.016","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decrypts AES-256-GCM ciphertext using a provided key, initialization vector (IV), and authentication tag","exampleAgentPrompt":"I have an AES-256-GCM encrypted ciphertext '3a9f...c1d2', the key is 'abc123...', the IV is 'f3a9...', and the auth tag is '9b2c...' — can you decrypt it back to the original plaintext?","exampleUseCases":null,"resultDescription":"The decrypted plaintext string recovered from the AES-256-GCM ciphertext, assuming the key, IV, and authentication tag are all correct and the ciphertext has not been tampered with.","failureModes":["Invalid or wrong key results in authentication failure and decryption error","Incorrect IV causes authentication tag mismatch","Malformed or truncated authentication tag triggers GCM authentication failure","Ciphertext has been tampered with, causing integrity check failure","Missing required fields (key, IV, ciphertext, or auth tag) returns 400 Bad Request","Ciphertext is not valid base64 or hex encoding returns parsing error"],"whenToPreferThis":"Use this endpoint when you need to decrypt data that was encrypted using AES-256-GCM symmetric authenticated encryption, particularly when you already have the key, IV, and authentication tag. Ideal for decrypting payloads encrypted by the sibling AES-encrypt endpoint on the same platform, or any standard AES-256-GCM encrypted data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:20.053Z","isFirstParty":false}