{"uid":"cap_usCxo_-99Y4AcpXvtqzLm","slug":"util-beauty-symmetric-cryptography-9567c24d","name":"util.beauty Symmetric Cryptography","description":"Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.","url":"https://util.beauty/v1/crypto/symmetric","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","description":"JSON request body (see OpenAPI for the utility schema).","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ok":{"type":"boolean"},"utility":{"type":"string"},"requestId":{"type":"string"},"chargedCredits":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"utility":"…","requestId":"req_…","chargedCredits":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xInRzRzC2rpgJJftC43E2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encrypts or decrypts data using symmetric cryptographic algorithms via a metered pay-per-request API","exampleAgentPrompt":"Encrypt the string 'my-secret-api-key-12345' using symmetric encryption — I need to store it safely and will decrypt it later with the same key.","exampleUseCases":[{"title":"Encrypt secrets before storage","prompt":"I need to encrypt this sensitive config value 'db_password=hunter2' with a symmetric key before saving it to my database — can you do that and give me the ciphertext?"},{"title":"Decrypt received encrypted payload","prompt":"I received this ciphertext from a partner system and need to decrypt it using our shared symmetric key 'a1b2c3d4e5f6g7h8' — can you decrypt it and give me the plaintext?"},{"title":"Protect user PII in transit","prompt":"Before I send this user's SSN '123-45-6789' over to a third-party service, encrypt it symmetrically so only I can decrypt it on the other end."}],"resultDescription":"A JSON object containing a boolean 'ok' field, the utility name used, a unique requestId for tracking, the charged credits consumed, and the encrypted or decrypted result data.","failureModes":["Invalid or missing encryption key returns an error response","Unsupported algorithm specified causes a 400-level error","Malformed ciphertext during decryption results in a decryption failure","Insufficient prepaid credits or failed x402 payment blocks the request","Missing required body fields returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need quick, serverless symmetric encryption or decryption without managing your own crypto infrastructure, especially in agent workflows that benefit from pay-per-use pricing via x402 USDC micropayments. Ideal for one-off encryption tasks, protecting secrets before storage, or decrypting partner payloads in an AI pipeline where spinning up dedicated crypto services is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:42.018Z","isFirstParty":false}