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.
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
- paperOlejnik and Naskrecki: AI Grinding for Fun and Cryptanalysis, section 4.2arXiv, arxiv.org
- paperCherkaoui et al.: Spinel, version 2arXiv, arxiv.org
- codeCrypto Grinder: findings and scopeCrypto Grinder, github.com