{"id":"adler32-window-roll","version":"1.0.0","description":"Roll an Adler-32 state forward by replacing one byte in a fixed-size window.","supported_operations":["roll an adler32 fixed window","update checksum after sliding one byte","compute next rolling adler checksum","replace outgoing byte in adler window","advance fixed size adler checksum","slide an adler byte window forward"],"unsupported_operations":["rolling by multiple bytes in one call","validating that the outgoing byte matches stored content"],"semantics":["Adler-32 is defined by RFC 1950 section 8 with BASE 65521, initial s1=1 and s2=0; the 32-bit result is (s2 << 16) | s1.","Every result identifies its reference as \"RFC 1950 section 8; zlib 1.3.1 adler32/adler32_combine behavior\".","Disclaimer: format transform only; provides no confidentiality, integrity, or authenticity.","For window length N, outgoing byte x and incoming byte y: s1′=(s1-x+y) mod 65521 and s2′=(s2-N*x+s1′-1) mod 65521."],"limits":{"max_window_length":65536},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["checksum","window_length","outgoing_byte","incoming_byte"],"properties":{"checksum":{"type":"string","pattern":"^[0-9a-f]{8}$"},"window_length":{"type":"integer","minimum":1,"maximum":65536},"outgoing_byte":{"type":"integer","minimum":0,"maximum":255},"incoming_byte":{"type":"integer","minimum":0,"maximum":255}}},"output_schema":{"type":"object","additionalProperties":false,"required":["algorithm","checksum","standard"],"properties":{"algorithm":{"type":"string","enum":["adler32"]},"checksum":{"type":"string","pattern":"^[0-9a-f]{8}$"},"standard":{"type":"string","enum":["RFC 1950 section 8; zlib 1.3.1 adler32/adler32_combine behavior"]}}},"examples":[{"input":{"checksum":"024d0127","window_length":3,"outgoing_byte":97,"incoming_byte":100},"output":{"algorithm":"adler32","checksum":"0253012a","standard":"RFC 1950 section 8; zlib 1.3.1 adler32/adler32_combine behavior"}},{"input":{"checksum":"00010001","window_length":1,"outgoing_byte":0,"incoming_byte":255},"output":{"algorithm":"adler32","checksum":"01000100","standard":"RFC 1950 section 8; zlib 1.3.1 adler32/adler32_combine behavior"}}],"execute_url":"/v1/tools/adler32-window-roll/versions/1.0.0/execute"}