{"uid":"cap_QUwK-wS19uy-0Cq2ORtZR","slug":"sha-256-hash-also-sha-512-sha3-256-57326824","name":"SHA-256 Hash (also SHA-512 / SHA3-256)","description":"SHA-256 hash/digest of a text string — also sha512 and sha3-256; returns hex.","url":"https://conclavex402p04.pythonanywhere.com/u/sha256?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"sha256":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nnu1q9fBfBuIaGl8IM84U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the SHA-256, SHA-512, or SHA3-256 cryptographic hash of an input text string and returns the result as a hex digest.","exampleAgentPrompt":"Hash the string 'hello' using SHA-256 and give me the hex digest.","exampleUseCases":[{"title":"Verify file or message integrity","prompt":"Compute the SHA-256 hash of this text — 'The quick brown fox jumps over the lazy dog' — so I can compare it against a known checksum to confirm it hasn't been tampered with."},{"title":"Fingerprint a secret before storage","prompt":"Give me a SHA-512 hex digest of the string 'MyS3cr3tP@ssw0rd!' so I can store a fingerprint instead of the plaintext."},{"title":"Generate SHA3-256 for a blockchain payload","prompt":"Hash the string 'transaction:abc123:1000USDC:2024-06-01' using SHA3-256 and return the hex digest so I can include it in my smart contract payload."}],"resultDescription":"A JSON object containing the hex-encoded hash digest under the key matching the requested algorithm (e.g. `sha256`, `sha512`, or `sha3_256`). For example: {\"sha256\": \"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824\"}.","failureModes":["Missing or empty `input` body field returns a 400 validation error","Unsupported algorithm name returns an error or unexpected response","Payment failure (x402) returns a 402 Payment Required before any hash is computed","Very large input strings may time out or be rejected by the server"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call cryptographic hash (SHA-256, SHA-512, or SHA3-256) of a text string without running local libraries — ideal for agents operating in sandboxed or serverless environments where native crypto modules are unavailable, or when you need a verifiable third-party hash result for audit purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:31:26.771Z","isFirstParty":false,"canonicalSlug":"sha-256-hash-also-sha-512-sha3-256-57326824"}