Shekyl Stats

Refreshing...

Network

Connected

Chain

Height
—
Network Height
—
Top Block Hash
--
Block Spacing
--

Rewards

Reward
--
Difficulty
--
Hash Rate
--

Supply

Circulating Supply
--
Remaining Supply
--
Burn Total
--

Economics

Emission Multiplier
--
Burn
--
Economy Fee
--
Standard Fee
--
High Fee
--

Staking

Stake Share
--

Protocol

Transaction Format
TransactionV3
Membership Proof
FCMP++
Spend Auth
Ed25519 + ML-DSA-65
Confidentiality
Stealth + BP+

Node

Pool Count
--
Data Size
--
Revision
--
Sync Status
Syncing

Findings

What building a working PRISM verifier taught us, from the details the paper left open to the sizes of the primes.

Details the paper left open

A paper describes a scheme; an implementation has to decide everything the description leaves out. Each decision below is tested in the Rust verifier and, where it touches the mathematics, against an independent SageMath model. All fifteen departures from the paper are listed with their reasons in the project's ledger.

A chain two steps shorter

The verifier reaches the middle of its computation twice, from two directions, and has to recognize that both arrivals are the same place. With the chain as long as the available torsion, that cannot be done: the last two steps leave signs that nothing fixes. We shortened the chain by two steps and kept the signature’s points at full order, so the two halves can be matched exactly.

A pairing check before the chains

An input that is not a valid kernel still runs both chains to completion and is caught only at the very end. One Weil pairing check up front refuses it cheaply. The model also showed that a pairing check alone cannot validate a signature: it passes some wrong inputs that only the full comparison refuses.

One encoding per signature

A curve can be written in several equivalent ways. Without a rule for which one a signature uses, one signature has several valid encodings, and a strongly unforgeable scheme cannot allow that. The verifier requires the least Montgomery coefficient of the curve’s class, together with a sign rule.

Matrices in closed form

The change of coordinates between the two halves of the chain had been completed by a general solver, which could choose different valid answers. Both matrices turn out to be explicit formulas in the challenge, so the solver was deleted and the verifier computes them directly.

A smaller public key

The reference key carries hints for finding a basis. Ours is the curve coefficient alone, and the verifier derives the basis by a bounded search. The starting curve is refused as a key, because its structure is public.

Why the signature carries a salt

The first version of our signature carried a short public index in place of a salt. Analysis then showed an attack on it. Anyone could search for two messages that lead to the same challenge, ask for a signature on the harmless one, and present that same signature for the other. That search costs about the square root of the challenge space.

With a salt the signer chooses, an outsider cannot know the challenge in advance. The best remaining attack is to find a new message that lands on a challenge that has already been signed. That is a second-preimage search, which costs the full size of the challenge space divided by the number of signatures.

We ran both attacks against the real signer and the real verifier, narrowing only the width of the challenge so that the searches finish. Every unsalted replay was accepted. Every precomputed collision was refused once the signer chose the salt. As the challenge grew, the cost of the unsalted attack rose at slope 0.49 and the salted one at 0.96, matching the predicted 0.5 and 1.

Parameter setWithout the salt (collision replay)With the salt, after 2^64 signatures
p2482^125.3 hash queries2^180 hash queries
p3762^189.6 hash queries2^308 hash queries
p5002^251.7 hash queries2^432 hash queries

Full-width figures are extrapolated from measured densities of prime challenges. They count hash queries only, leaving out memory, the cost of one hash and quantum search, and they are not security levels. The salt changes this one attack; the hardness of the underlying isogeny problem is untouched. A signer can still, at the unsalted cost, make one signature that is valid for two messages of its own choosing. Details are in the salt comparison and the security argument.

Verification made twice as fast

We count the arithmetic operations a verification performs and pin those counts in continuous integration, on two processor architectures, so that cost is measured independently of any one machine. Guided by those counts, the verifier now uses squarings where it can, avoids inversions that grow with the length of the chain, and reuses scalar multiplications. One verification at p500 went from about 723,000 extension-field multiplications to about 289,000.

On the development machine verification time fell from 24.1, 68.4 and 156.4 ms to 11.5, 32.5 and 73.9 ms at p248, p376 and p500. On a Raspberry Pi 4 it fell from 167, 447 and 1,016 ms to 89, 232 and 521 ms. Every honest signature is still accepted, and every malformed input is still refused, exactly as before.

The primes, after new cryptanalysis

In 2026 Benjamin Wesolowski published an algorithm (ePrint 2026/1486) that solves the underlying isogeny problems in time about p1/3 rather than p1/2, under a heuristic. It applies to recovering a PRISM key, and SQIsign, the related scheme, moved to larger primes in response.

We now name a parameter set by its prime and implement five of them: p248, p324, p376, p500 and p664. Shekyl's choice is p500, the prime 27·2500 − 1, which is also one of the three primes the SQIsign specification of September 2026 selects. The security category a prime is assessed at changes as research moves (this same prime is level V in the PRISM paper and level III in the SQIsign specification), so the category is recorded in the documentation and never in the code. p324 and p664 are implemented on the verifier side; until a signer exists for them, no honest signature at those sets has been shown to verify.

The five field primes have independently checkable primality certificates, verified in continuous integration, rather than relying on repeated probable-prime tests.

Prior work

We are not the first to implement this variant of PRISM. ECLIPSE (ePrint 2026/2312), a Rust implementation of the salted variant on the earlier primes, was published about five weeks before our first accepted signature. A full comparison is on the project's list of open work.

What is still open

  • A written proof that passing the verifier's checks means the signature is an isogeny of the claimed prime degree, and that each such isogeny has exactly one encoding. A conditional argument is written and awaits review.
  • A primality policy that holds up against a signer who grinds messages and salts in search of a composite that passes.
  • The distribution of the signer's responses, which the published security reduction assumes.
  • A signer in Rust, its side-channel review, and a model of fault attacks.
  • Review by independent isogeny cryptographers.

The full list is in the security review handoff.