For AI assistants and clinical software · runs in your browser
Check an OmniRx answer against its receipt
Every answer from the OmniRx gateway comes with a receipt token that records the answer's hash. Paste the answer and the token below and this page recomputes the hash on your side and tells you whether they match. Nothing you paste is uploaded.
Paste and check
The toy example is made up to show the steps and is not an OmniRx answer.
How the check works
The gateway puts the object's keys in sorted order at every level, serializes it as JSON, and records the SHA-256 of that text in the token. This page does the same steps on what you paste. If one character of the answer changed, the hash changes and the page says the answer differs from the receipt. The token is two parts joined by a dot: the first is the recorded call in base64url, the second is the gateway's signature, which this page does not use.
Questions
What does this check?
It recomputes the SHA-256 of the answer you paste and compares it with the answer hash recorded in the receipt token. A match means the answer in your hand is the one the receipt recorded, character for character after canonical ordering.
Does it prove the answer came from OmniRx?
No. Only the gateway can check the receipt token's signature, and only the gateway can replay the call against the frozen edition. This page checks the answer against the receipt and nothing more.
Does what I paste leave my browser?
No. The check runs in this page with your browser's own SHA-256. The page makes no network request with what you paste.
What should I paste as the answer?
The result object from the gateway response, exactly as returned. If you paste the whole response, the page reads the result and the receipt token from it.