CHECK IT HERE
This page does not ask you to trust the site. It takes the newest signatures that were sent through it, reads the matching records and plate keys from the shield contracts, and runs the same check the contract runs, in your browser, in front of you. It also runs the signing code against fixed test values so you can see it produce the expected hashes.
SIGNATURES CHECKED
No signature has been sent through this site yet.
SELF TEST
/ 8| CHECK | EXPECTED | COMPUTED | RESULT |
|---|---|---|---|
| tree root | 0x97511a82…b3fed8 | ||
| key of plate 1 | 0x77d0e3e6…093672 | ||
| key of plate 8 | 0xa2f2fbda…48a93c | ||
| install message for plate 1 | 0x1c1416bb…6644c7 | ||
| binding digest | 0x917931ff…62a382 | ||
| order digest | 0x2a11513c…99d9a4 | ||
| plate signature round trip | 0x77d0e3e6…093672 | ||
| install signature round trip | 0x97511a82…b3fed8 |
The test key is the 32 bytes 00 to 1f. It guards nothing. It exists so that this page, the contract and anyone's own code can be compared on the same input.
CONSTANTS
| NAME | VALUE |
|---|---|
| trees in a plate | 21 |
| leaves in a tree | 4096 |
| secret leaves in a plate | 86016 |
| signatures a plate makes | 16 |
| plates in a shield | 32 |
| signatures in a shield's life | 512 |
| Winternitz chains in a key | 67 |
| steps in a chain | 15 |
| order signature | 8736 bytes |
| plate install signature | 2304 bytes |
| hash function | keccak256 |
CHECK IT WITHOUT THIS SITE
Everything needed is public. Read a shield's records and plate keys straight from the contract on bscscan. Take a signature from the input data of the transaction that carried it. Rebuild the digest from the shield's address, the plate number and the order. Split it into 21 indices of 12 bits. Hash each revealed secret into its leaf, climb twelve levels, hash the 21 roots together and compare with the plate key. The byte layouts are on the docs page.