Expand description
Broadcast crypto primitives preserved from the removed NotificationService.
These are reused by the WASM client (wasm_api.rs) and remain public so the
browser binding is unaffected by the NotificationService removal (EV5/#605).
The blind-relay broadcast service itself is gone; only the reusable crypto
helpers (pubkey fingerprint, length-prefixed AAD, one-shot MAC, attestation
message) remain here.
Functions§
- build_
attestation_ message - Build the message signed by the publisher’s Ed25519 key for attestation.
- build_
payload_ aad - Build length-prefixed AAD for payload encryption.
- notification_
mac - Compute a one-shot MAC:
keyed_mac(mac_key, ciphertext). - notification_
mac_ verify - Verify a one-shot MAC in constant time.
- pubkey_
fingerprint - Compute a 128-bit fingerprint of a public key:
Blake3(pubkey)[..16].
Type Aliases§
- Pubkey
Fingerprint - 128-bit pubkey fingerprint (Blake3 truncated).