Has it been Pwned
ProtocolPractical impactMedium confidence

Spinel's variable-length byte encoding gives search-free hash collisions

Crypto Grinder identifies an ambiguity before Spinel's algebraic hash is evaluated: the byte pairs 01 04 and 04 01 both encode to 222. The printable messages '(y' and 'y(' also collide. Collision and second-preimage resistance fail at this byte interface.

Added 19 Oct 2026. Source review: 19 Oct 2026. Primary preprint and scoped claims checked; selected arithmetic witnesses only, not complete attack or proof reproduction. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Removing leading ternary zeros makes each byte code variable in length; concatenation loses its boundaries. Keeping six trits per byte removes this ambiguity. Reusing a signature on a colliding message is established only if H_msg uses the same defective hash. Neither the group-navigation problem nor first-preimage resistance is attacked.

Sources

  1. paperOlejnik and Naskrecki: AI Grinding for Fun and Cryptanalysis, section 4.2arXiv, arxiv.org
  2. paperCherkaoui et al.: Spinel, version 2arXiv, arxiv.org
  3. codeCrypto Grinder: findings and scopeCrypto Grinder, github.com