{"id":"tuplehash-compute","version":"1.0.0","description":"Compute fixed-output TupleHash128 or TupleHash256 over an ordered tuple of byte strings.","supported_operations":["tuplehash-compute","compute nist tuplehash","compute fixed-output tuplehash128 or tuplehash256 over an ordered tuple of byte strings.","compute TupleHash128","calculate customized TupleHash256","produce nist sp 800 185 tuplehash-compute bytes"],"unsupported_operations":["KMAC or any keyed operation","implicit algorithm detection","streaming across calls"],"semantics":["All lengths passed to left_encode, right_encode, and encode_string are bit lengths where SP 800-185 requires bits.","customization is UTF-8 text and defaults to the empty string; byte data supports utf8, canonical hex, or canonical padded base64.","Outputs are lowercase hexadecimal and algorithm selection is explicit; keyed KMAC is unsupported."],"limits":{"max_input_bytes":65536,"max_output_bytes":1024,"max_tuples":64},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["tuples","security","output_bytes"],"properties":{"tuples":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"string","maxLength":262144},"encoding":{"type":"string","enum":["utf8","hex","base64"],"default":"utf8"}}}},"security":{"type":"integer","enum":[128,256]},"output_bytes":{"type":"integer","minimum":1,"maximum":1024},"customization":{"type":"string","maxLength":65536,"default":""}}},"output_schema":{"type":"object","additionalProperties":false,"required":["algorithm","input_bytes","output_bytes","hex","standard","reference"],"properties":{"algorithm":{"type":"string","enum":["TupleHash128","TupleHash256"]},"input_bytes":{"type":"integer","minimum":0},"output_bytes":{"type":"integer","minimum":1,"maximum":1024},"hex":{"type":"string","pattern":"^[0-9a-f]+$"},"standard":{"type":"string","const":"NIST SP 800-185 (December 2016)"},"reference":{"type":"string","const":"Section 6"}}},"examples":[{"input":{"tuples":[{"data":"000102","encoding":"hex"},{"data":"101112131415","encoding":"hex"}],"security":128,"output_bytes":32},"output":{"algorithm":"TupleHash128","input_bytes":9,"output_bytes":32,"hex":"c5d8786c1afb9b82111ab34b65b2c0048fa64e6d48e263264ce1707d3ffc8ed1","standard":"NIST SP 800-185 (December 2016)","reference":"Section 6"}},{"input":{"tuples":[{"data":"000102","encoding":"hex"},{"data":"101112131415","encoding":"hex"}],"security":128,"output_bytes":32,"customization":"My Tuple App"},"output":{"algorithm":"TupleHash128","input_bytes":9,"output_bytes":32,"hex":"75cdb20ff4db1154e841d758e24160c54bae86eb8c13e7f5f40eb35588e96dfb","standard":"NIST SP 800-185 (December 2016)","reference":"Section 6"}}],"execute_url":"/v1/tools/tuplehash-compute/versions/1.0.0/execute"}