Hemera: A Permanent Hash Primitive for Planetary-Scale Collective Intelligence

field value
version 1.0
status Decision Record
authors mastercyb, Claude (Anthropic)
date February 2026

Abstract

Hemera is the cryptographic hash primitive for cyber, a knowledge graph for planetary-scale collective intelligence. It instantiates the Poseidon2 permutation over the Goldilocks field (p = 2^64 - 2^32 + 1) with state width t = 16, S-box degree d = 7, and 64 partial rounds (R_P = 64).

The construction provides 256-bit classical collision resistance and 170-bit quantum collision resistance. Algebraic degree 7^64 = 2^180 places the permutation far beyond any foreseeable attack capability. Every particle address in the network, every Merkle node in every proof tree, and every commitment in every STARK derives from the same permutation.

One function. One mode (sponge). 64 raw bytes output. These parameters are Hemera. If any parameter differs, it is not Hemera.

Parameters

┌──────────────────────────────────────────────────────────┐
│  HEMERA — Complete Specification                         │
│                                                          │
│  Field:           p = 2⁶⁴ − 2³² + 1 (Goldilocks)       │
│  S-box:           d = 7  (x → x⁷, minimum for field)    │
│  State width:     t = 16                      = 2⁴       │
│  Full rounds:     R_F = 8  (4 + 4)            = 2³       │
│  Partial rounds:  R_P = 64                    = 2⁶       │
│  Rate:            r = 8  elements              = 2³       │
│  Input rate:      56 bytes/block (7 B/element) = 7 × 2³   │
│  Capacity:        c = 8  elements (64 bytes)   = 2³       │
│  Output:          8  elements (64 bytes)       = 2³       │
│                                                          │
│  Full round constants:    8 × 16 = 128        = 2⁷       │
│  Partial round constants: 64                  = 2⁶       │
│  Total constants:         192                 = 3 × 2⁶   │
│  Total rounds:            72                  = 9 × 2³   │
│                                                          │
│  Classical collision resistance:  256 bits     = 2⁸       │
│  Quantum collision resistance:   170 bits                │
│  Algebraic degree:               2¹⁸⁰                    │
│                                                          │
│  Every parameter that appears in code is a power of 2.   │
└──────────────────────────────────────────────────────────┘

Specification pages

  • field — Goldilocks prime field (canonical spec in nebu)
  • permutation — Poseidon2 round structure: S-box, linear layers, complete algorithm
  • sponge — absorb/squeeze, padding, operational semantics
  • capacity — structured capacity: flags, domain tags, counters, namespace bounds
  • encoding — 7-byte canonical encoding, byte-to-field mapping
  • tree — binary Merkle tree, hash_node construction
  • constants — all 192 round constants (hex values)
  • bootstrap — round constant self-generation via Hemera₀
  • matrices — MDS and diagonal matrices for the linear layer
  • api — public API surface: hash, hash_node, absorb, squeeze

See also

  • particle — particle addressing with Hemera
  • cyberlink — edges referencing particles by Hemera hash
  • cybergraph — the graph Hemera addresses
  • nox — the VM where Hemera executes as a jet
  • tri-kernel — probability engine consuming Hemera outputs
  • cyber/proofs — STARK proof system built on Hemera
  • cyber/bbg — graph database whose every tree structure uses hash_node
  • WHIR — polynomial commitment scheme whose FRI trees use hash_node
  • cyber/whitepaper — section 4 Hemera chapter

Dimensions

reference
reference of go-cyber lcd api in [swagger docs](https://lcd.bostrom.cybernode.ai) cyber cli tool is a reference for operations related transactions bostrom/api
nebu/reference
nebu specification canonical reference for the Goldilocks prime field, its arithmetic, and its hardware. spec pages | page | defines | |------|---------| | field | prime, elements, arithmetic, properties, why Goldilocks | | ntt | Number Theoretic Transform, roots of unity, butterfly, Cooley-Tukey |…
bbg/reference
reference
trident/reference
📖 Trident Reference [← Documentation Index](/trident-docs-readme) Canonical reference for all Trident design decisions. If reference docs and code disagree, the reference wins. Language Reference [language.md](/trident-reference-language) — the complete language in one file, 16 sections. Language |…
rs/reference
Rs Reference Primitives | # | Primitive | Reference | Type | |---|-----------|-----------|------| | 1 | [Typed Registers](/rs-reference-registers) | `#[register]` | Compiler (800L) | | 2 | [Bounded Async](/rs-reference-async) | `async(duration)` / `#[bounded_async]` | Proc-macro (200L) + rsc lint…
zheng/reference
zheng reference precise definitions, parameters, APIs, and constraint costs for each component zheng implements. these pages answer "what exactly is X" — the spec you consult when implementing or auditing. for intuition, motivation, and learning paths see…
nox/reference
nox reference canonical specification of the nox virtual machine. this is the source of truth — when code and reference disagree, fix reference first, then propagate to code. specifications | page | scope | status | |------|-------|--------| | vm.md | overview, field (nebu), hash (hemera),…

Pages in this namespace

Local Graph