BLOCKFACTORYCUTSHIELDSWEAKESTHELD

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
CHECKEXPECTEDCOMPUTEDRESULT
tree root0x97511a82…b3fed8
key of plate 10x77d0e3e6…093672
key of plate 80xa2f2fbda…48a93c
install message for plate 10x1c1416bb…6644c7
binding digest0x917931ff…62a382
order digest0x2a11513c…99d9a4
plate signature round trip0x77d0e3e6…093672
install signature round trip0x97511a82…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

NAMEVALUE
trees in a plate21
leaves in a tree4096
secret leaves in a plate86016
signatures a plate makes16
plates in a shield32
signatures in a shield's life512
Winternitz chains in a key67
steps in a chain15
order signature8736 bytes
plate install signature2304 bytes
hash functionkeccak256

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.