pub fn topic_leaf(
k_group: &[u8; 32],
subject: &CanonicalSubject,
epoch: u64,
) -> StringExpand description
The keyed routing leaf for a subject under a group key + epoch.
topic = hex(keyed_mac(K_group, canonical_subject_bytes ‖ epoch_le)) — a
256-bit BLAKE3 keyed hash (HMAC-SHA256 under FIPS), hex-encoded to a 64-char
MoQ-path-safe segment. This is the opaque routing leaf that replaces
oid_hash; the semantic (did, nsid, rkey) stays under the payload AEAD.
Knowing the at-uri is NOT enough to derive this leaf — K_group is required
(relay-opaque, unguessable). A different group key or epoch produces a
different leaf (cross-group/cross-epoch unlinkability).